.card-input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}
.card-input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #e50914;
}
.animate-spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.card-input {
    background-color: #333;
    border: 1px solid #555;
    color: white;
}

.card-input:focus {
    border-color: #e50914;
    box-shadow: 0 0 0 2px rgba(229, 9, 20, 0.2);
}

.card-input::placeholder {
    color: #999;
}
body { 
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; 
            background-color: #ffffff; 
        }
        
        /* Header Styles */
        .sephora-header { 
            background-color: #000000; 
            color: white; 
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        
        .nav-link { 
            color: #fff; 
            opacity: 0.9; 
            margin-right: 20px; 
            transition: all 0.3s ease; 
            font-weight: 500; 
            font-size: 14px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        
        .nav-link:hover { 
            opacity: 1; 
            color: #f8b4d9;
        }
        
        /* Checkout Styles */
        .checkout-container {
            background: linear-gradient(135deg, #f8b4d9 0%, #e91e63 50%, #9c27b0 100%);
            min-height: 100vh;
            padding: 40px 0;
        }
        
        .checkout-card {
            background: white;
            border-radius: 20px;
            box-shadow: 0 20px 60px rgba(0,0,0,0.15);
            overflow: hidden;
        }
        
        .checkout-header {
            background: linear-gradient(135deg, #f8b4d9 0%, #e91e63 100%);
            color: white;
            padding: 40px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        
        .checkout-header::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="gift" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23gift)"/></svg>');
            opacity: 0.3;
        }
        
        .gift-info {
            background: linear-gradient(135deg, #fff3f7 0%, #ffe6f0 100%);
            border: 2px solid #f8b4d9;
            border-radius: 16px;
            padding: 25px;
            margin: 20px 0;
            position: relative;
        }
        
        .gift-info::before {
            content: '🎁';
            position: absolute;
            top: -15px;
            left: 20px;
            background: white;
            padding: 5px 10px;
            border-radius: 20px;
            font-size: 20px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        
        .delivery-option {
            border: 2px solid #e0e0e0;
            border-radius: 16px;
            padding: 25px;
            margin-bottom: 20px;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            background: white;
        }
        
        .delivery-option:hover {
            border-color: #f8b4d9;
            background-color: #fefefe;
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(248, 180, 217, 0.2);
        }
        
        .delivery-option.selected {
            border-color: #e91e63;
            background: linear-gradient(135deg, #fef7f9 0%, #fff3f7 100%);
            box-shadow: 0 8px 25px rgba(233, 30, 99, 0.15);
        }
        
        .delivery-option input[type="radio"] {
            position: absolute;
            opacity: 0;
        }
        
        .carrier-logo {
            width: 60px;
            height: 40px;
            object-fit: contain;
            border-radius: 8px;
            background: white;
            padding: 5px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }
        
        .payment-form {
            background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
            border-radius: 20px;
            padding: 30px;
            margin-top: 30px;
            border: 1px solid #e0e0e0;
            display: none;
        }
        
        .payment-form.show {
            display: block;
            animation: slideDown 0.5s ease-out;
        }
        
        @keyframes slideDown {
            from {
                opacity: 0;
                transform: translateY(-20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .form-group {
            margin-bottom: 25px;
        }
        
        .form-label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: #333;
            font-size: 14px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        
        .form-input {
            width: 100%;
            padding: 15px 20px;
            border: 2px solid #e0e0e0;
            border-radius: 12px;
            font-size: 16px;
            transition: all 0.3s ease;
            background: white;
        }
        
        .form-input:focus {
            outline: none;
            border-color: #f8b4d9;
            box-shadow: 0 0 0 4px rgba(248, 180, 217, 0.1);
            transform: translateY(-1px);
        }
        
        .form-input.error {
            border-color: #e53e3e;
            box-shadow: 0 0 0 4px rgba(229, 62, 62, 0.1);
        }
        
        .card-icon {
            transition: opacity 0.3s ease;
        }
        
        .card-icon.active {
            opacity: 1 !important;
        }
        
        .card-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }
        
        .country-select {
            background: white;
            border: 2px solid #e0e0e0;
            border-radius: 12px;
            padding: 15px 20px;
            font-size: 16px;
            width: 100%;
            transition: all 0.3s ease;
        }
        
        .country-select:focus {
            outline: none;
            border-color: #f8b4d9;
            box-shadow: 0 0 0 4px rgba(248, 180, 217, 0.1);
        }
        
        .checkout-btn {
            background: linear-gradient(135deg, #f8b4d9 0%, #e91e63 100%);
            color: white;
            border: none;
            padding: 18px 40px;
            border-radius: 30px;
            font-size: 18px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            width: 100%;
            position: relative;
            overflow: hidden;
        }
        
        .checkout-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: left 0.5s;
        }
        
        .checkout-btn:hover::before {
            left: 100%;
        }
        
        .checkout-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 30px rgba(233, 30, 99, 0.3);
        }
        
        .summary-item {
            display: flex;
            justify-content: space-between;
            padding: 12px 0;
            border-bottom: 1px solid #f0f0f0;
            font-size: 16px;
        }
        
        .summary-total {
            font-size: 24px;
            font-weight: 700;
            color: #e91e63;
            border-top: 2px solid #e0e0e0;
            padding-top: 20px;
            margin-top: 20px;
        }
        
        .form-group {
            position: relative;
        }
        
        .address-suggestions {
            position: absolute;
            top: calc(100% + 5px);
            left: 0;
            right: 0;
            background: white;
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.1);
            z-index: 1000;
            max-height: 200px;
            overflow-y: auto;
            display: none;
            margin-top: 2px;
        }
        
        .address-suggestion {
            padding: 12px 16px;
            cursor: pointer;
            border-bottom: 1px solid #f0f0f0;
            transition: all 0.2s ease;
            font-size: 14px;
            color: #333;
            display: flex;
            align-items: center;
        }
        
        .address-suggestion:hover {
            background-color: #f8b4d9;
            color: white;
        }
        
        .address-suggestion:last-child {
            border-bottom: none;
        }
        
        .address-suggestion.loading {
            color: #666;
            font-style: italic;
            cursor: default;
        }
        
        .address-suggestion.loading:hover {
            background-color: transparent;
            color: #666;
        }
        
        .address-suggestion.error {
            color: #e53e3e;
            cursor: default;
        }
        
        .address-suggestion.error:hover {
            background-color: transparent;
            color: #e53e3e;
        }
        
        .address-suggestion.no-results {
            color: #666;
            font-style: italic;
            cursor: default;
        }
        
        .address-suggestion.no-results:hover {
            background-color: transparent;
            color: #666;
        }
        
        /* Animation */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .animate-fade-in-up {
            animation: fadeInUp 0.6s ease-out;
        }
        
        /* Responsive */
        @media (max-width: 768px) {
            .card-row {
                grid-template-columns: 1fr;
            }
            
            .checkout-container {
                padding: 20px 0;
            }
            
            .checkout-header {
                padding: 30px 20px;
            }
        }