/* Checkout Page Styles */
.checkout-header {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    padding: 120px 0 60px;
    text-align: center;
    color: #ffffff;
}

.checkout-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #00ff88;
}

.checkout-header p {
    font-size: 1.2rem;
    color: #cccccc;
    max-width: 600px;
    margin: 0 auto;
}

.checkout-content {
    padding: 60px 0;
    background: #0f0f0f;
    min-height: 80vh;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Cart Section */
.cart-section {
    background: #1a1a1a;
    border-radius: 10px;
    padding: 2rem;
    height: fit-content;
}

.cart-section h2 {
    color: #00ff88;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.cart-items {
    margin-bottom: 2rem;
}

.cart-item {
    background: #2a2a2a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.cart-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.cart-item-title {
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1rem;
}

.cart-item-price {
    color: #00ff88;
    font-weight: 600;
    font-size: 1.2rem;
}

.cart-item-specs {
    display: grid;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.cart-item-spec {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.cart-item-spec-label {
    color: #cccccc;
}

.cart-item-spec-value {
    color: #ffffff;
    font-weight: 500;
}

.cart-item-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.remove-item {
    background: #ff6b6b;
    color: #ffffff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.remove-item:hover {
    background: #ff5252;
}

.cart-summary {
    border-top: 1px solid #333;
    padding-top: 1.5rem;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.3rem;
    font-weight: 600;
}

.cart-total span:first-child {
    color: #cccccc;
}

.cart-total span:last-child {
    color: #00ff88;
}

/* Payment Section */
.payment-section {
    background: #1a1a1a;
    border-radius: 10px;
    padding: 2rem;
}

.payment-section h2 {
    color: #00ff88;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.payment-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: #ffffff;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input {
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 6px;
    padding: 0.8rem;
    color: #ffffff;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #00ff88;
}

.form-group input::placeholder {
    color: #666666;
}

.card-element {
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 6px;
    padding: 0.8rem;
    transition: border-color 0.3s ease;
}

.card-element.StripeElement--focus {
    border-color: #00ff88;
}

.card-errors {
    color: #ff6b6b;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    min-height: 1.2rem;
}

.submit-button {
    background: linear-gradient(45deg, #00ff88, #00cc6a);
    color: #000000;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 255, 136, 0.3);
}

.submit-button:disabled {
    background: #666;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #ffffff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.hidden {
    display: none;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Empty Cart State */
.empty-cart {
    text-align: center;
    padding: 3rem;
    color: #cccccc;
}

.empty-cart i {
    font-size: 3rem;
    color: #666666;
    margin-bottom: 1rem;
}

.empty-cart h3 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.empty-cart a {
    color: #00ff88;
    text-decoration: none;
    font-weight: 600;
}

.empty-cart a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .checkout-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .checkout-header h1 {
        font-size: 2rem;
    }
    
    .cart-item-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .cart-item-actions {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
} 

/* Checkout Section */
.checkout-section {
    background: #1a1a1a;
    border-radius: 10px;
    padding: 2rem;
}

.checkout-section h2 {
    color: #00ff88;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.checkout-info {
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #2a2a2a;
    border-radius: 8px;
    border: 1px solid #333;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item i {
    color: #00ff88;
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.info-item h3 {
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.info-item p {
    color: #cccccc;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

.checkout-button {
    background: linear-gradient(45deg, #00ff88, #00cc6a);
    color: #000000;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    margin-bottom: 1rem;
}

.checkout-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 255, 136, 0.3);
}

.checkout-button:disabled {
    background: #666;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.checkout-button i {
    font-size: 1rem;
}

.checkout-note {
    text-align: center;
    padding: 1rem;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 8px;
}

.checkout-note p {
    color: #00ff88;
    font-size: 0.9rem;
    margin: 0;
    font-weight: 500;
} 