/* Alpha Maker Checkout - Style */

.amc-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    padding: 20px;
    background: #1a1a1a;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.amc-card {
    background: #111;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 40px;
    width: 100%;
    max-width: 900px;
    color: #fff;
}

.amc-title {
    text-align: center;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 28px;
}

.amc-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 28px;
}

@media (max-width: 600px) {
    .amc-fields { grid-template-columns: 1fr; }
}

.amc-field-group label {
    display: block;
    font-size: 13px;
    color: #aaa;
    margin-bottom: 6px;
}

.amc-field-group input {
    width: 100%;
    background: #fff;
    color: #111;
    border: none;
    border-radius: 6px;
    padding: 14px 16px;
    font-size: 15px;
    box-sizing: border-box;
    outline: none;
}

.amc-items {
    border-top: 1px solid #2a2a2a;
    margin-bottom: 20px;
    padding-top: 16px;
}

.amc-items-header {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.amc-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.amc-item-price.red  { color: #e74c3c; }
.amc-item-price.green { color: #2ecc71; }

/* Stripe card element container */
#amc-stripe-container {
    border: 2px solid #2ecc71;
    border-radius: 6px;
    padding: 14px 16px;
    margin-bottom: 14px;
    background: #1a1a1a;
}

#amc-card-element {
    min-height: 24px;
}

.amc-card-errors {
    color: #e74c3c;
    font-size: 13px;
    margin-top: 8px;
    min-height: 18px;
}

/* CTA Button */
.amc-btn {
    display: block;
    width: 100%;
    background: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 18px;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s;
    margin-bottom: 12px;
}

.amc-btn:hover  { background: #c0392b; }
.amc-btn:disabled {
    background: #555;
    cursor: not-allowed;
}

.amc-secure {
    text-align: center;
    font-size: 13px;
    color: #666;
    margin: 0;
}

/* Loading spinner inside button */
.amc-btn .spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: amc-spin 0.7s linear infinite;
    vertical-align: middle;
    margin-right: 8px;
}

@keyframes amc-spin {
    to { transform: rotate(360deg); }
}
