/* donation.css - Complete CSS for Multi-step Donation Form */
.smart-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

h1 {
    text-align: center;
    color: white;
    margin-bottom: 30px;
    font-size: 2.5rem;
    font-weight: 300;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Main Form Container */
.donation-form-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    overflow: hidden;
    position: relative;
}

/* Progress Bar */
.smart-progress-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-bottom: 1px solid #e0e0e0;
    position: relative;
}

.smart-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    cursor: default;
    transition: all 0.3s ease;
}

.smart-progress-step.clickable {
    cursor: pointer;
}

.smart-progress-step.clickable:hover .smart-step-number {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.smart-step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ddd;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.smart-progress-step.active .smart-step-number {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.smart-progress-step.completed .smart-step-number {
    background: #4CAF50;
    color: white;
    border-color: #4CAF50;
}

.smart-progress-step.completed .smart-step-number::before {
    content: "✓";
    font-size: 20px;
}

.smart-step-label {
    font-size: 14px;
    font-weight: 500;
    color: #666;
    text-align: center;
    transition: color 0.3s ease;
}

.smart-progress-step.active .smart-step-label {
    color: #667eea;
    font-weight: 600;
}

.smart-progress-step.completed .smart-step-label {
    color: #4CAF50;
    font-weight: 600;
}

.smart-progress-line {
    flex: 1;
    height: 3px;
    background: #ddd;
    margin: 0 20px;
    position: relative;
    transition: all 0.3s ease;
}

.smart-progress-line.active {
    background: linear-gradient(90deg, #4CAF50 0%, #45a049 100%);
}

.smart-progress-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #4CAF50 0%, #45a049 100%);
    transition: width 0.5s ease;
}

.smart-progress-line.active::before {
    width: 100%;
}

/* Steps Container */
.steps-container {
    position: relative;
    min-height: 500px;
}

.step {
    display: none;
    padding: 40px;
    animation: fadeOut 0.3s ease-out;
}

.step.active {
    display: block;
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeOut {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(-20px); }
}

.step-content h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-size: 2rem;
    font-weight: 300;
}

/* Form Groups and Inputs */
.smart-form-group {
    margin-bottom: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.smart-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
    font-size: 14px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea,
select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
textarea,
select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: translateY(-1px);
}

input.input-valid {
    border-color: #4CAF50;
    background: #f8fff8;
}

input.input-error {
    border-color: #f44336;
    background: #fff8f8;
}

/* Step 1: Amount Selection */
.frequency-options,
.amount-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.frequency-option,
.amount-option {
    position: relative;
    cursor: pointer;
}

.frequency-option input[type="radio"],
.amount-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.frequency-option span,
.amount-option span {
    display: block;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    text-align: center;
    font-weight: 500;
    transition: all 0.3s ease;
    background: white;
    position: relative;
    overflow: hidden;
}

.frequency-option span::before,
.amount-option span::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s ease;
}

.frequency-option:hover span,
.amount-option:hover span {
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.frequency-option:hover span::before,
.amount-option:hover span::before {
    left: 100%;
}

.frequency-option input[type="radio"]:checked + span,
.amount-option input[type="radio"]:checked + span {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.frequency-option.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.frequency-option.disabled input[type="radio"] {
    cursor: not-allowed;
}

.frequency-option.disabled span {
    background-color: #f1f1f1;
    color: #999;
    border-color: #ddd;
}


.amount-option.custom span {
    flex-direction: column;
    gap: 10px;
}

.amount-option.custom input[type="number"] {
    border: none;
    background: transparent;
    color: inherit;
    text-align: center;
    font-weight: bold;
    padding: 5px;
}

.amount-option.custom input[type="number"]:focus {
    outline: none;
    box-shadow: none;
    transform: none;
}

.amount-option.custom input[type="radio"]:checked + span input[type="number"] {
    color: white;
}

.amount-option.custom input[type="radio"]:checked + span input[type="number"]::placeholder {
    color: rgba(255,255,255,0.8);
}

.amount-info {
    text-align: center;
    margin-top: 15px;
}

.amount-info small {
    color: #666;
    font-style: italic;
}

/* Checkbox Styles */
.checkbox-group {
    margin-top: 10px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    user-select: none;
    font-size: 14px;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.checkbox-label:hover input ~ .checkmark {
    border-color: #ccc;
    background-color: #f9f9f9;
}

.checkbox-label input:checked ~ .checkmark {
    background-color: #4a90e2;
    border-color: #4a90e2;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-label input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-label .checkmark:after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Disabled checkbox */
.checkbox-label.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.checkbox-label.disabled .checkmark {
    background-color: #f1f1f1;
    border-color: #ddd;
}

/* Step 3: Payment Methods */
.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.payment-method {
    position: relative;
    cursor: pointer;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    padding: 12px 8px;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.payment-method:hover {
    border-color: #bbb;
    transform: translateY(-2px);
}

.payment-method input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.payment-method:has(input[type="radio"]:checked) {
    border: 2px solid #4a90e2;
    border-radius: 8px;
}

.payment-method input[type="radio"]:checked ~ span {
    color: #4a90e2;
    font-weight: bold;
}


.payment-method input[type="radio"]:checked + div .payment-icon.credit-card {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2zm0 14H4v-6h16v6zm0-10H4V6h16v2z"/></svg>');
}

.payment-method input[type="radio"]:checked + div .payment-icon.paypal {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M7.076 21.337H2.47a.641.641 0 0 1-.633-.74L4.944.901C5.026.382 5.474 0 5.998 0h7.46c2.57 0 4.578.543 5.69 1.81 1.01 1.15 1.304 2.42 1.012 4.287-.023.143-.047.288-.077.437-.983 5.05-4.349 6.797-8.647 6.797h-2.19c-.524 0-.968.382-1.05.9l-1.12 7.106zm14.146-14.42a3.35 3.35 0 0 0-.607-.541c-.013.076-.026.175-.041.254-.93 4.778-4.005 7.201-9.138 7.201h-2.19a.9.9 0 0 0-.898.765l-1.528 9.681a.641.641 0 0 0 .633.74h4.25a.9.9 0 0 0 .898-.765l.804-5.09a.9.9 0 0 1 .898-.765h2.609c3.853 0 6.87-1.567 7.75-6.091.625-3.22-.041-5.4-1.44-6.389z"/></svg>');
}

.payment-method input[type="radio"]:checked + div .payment-icon.bank-transfer {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M11.5 1L2 6v2h20V6m-5 4v7h3v-7M2 22h20v-2H2m1.5-9v7h3v-7m5 0v7h3v-7"/></svg>');
}

.payment-method .smart-payment-icon
{
    height:30px;
}

/* Payment Details */
.payment-details {
    display: none;
    margin-top: 30px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.payment-details.active {
    display: block;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.payment-details h3 {
    margin-bottom: 20px;
    color: #333;
    font-size: 1.2rem;
}

.bank-info h4 {
    margin: 15px 0 10px 0;
    color: #555;
    font-size: 1rem;
}

.bank-info p {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Step 4: Summary */
.summary-section {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 25px;
    border: 1px solid #e9ecef;
}

.summary-section h3 {
    margin-bottom: 20px;
    color: #333;
    font-size: 1.3rem;
    text-align: center;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
}

.summary-item:last-child {
    border-bottom: none;
    margin-top: 10px;
    padding-top: 20px;
    border-top: 2px solid #667eea;
}

.summary-label {
    font-weight: 500;
    color: #555;
}

.summary-value {
    font-weight: 600;
    color: #333;
}

/* Navigation Buttons */
.step-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 40px;
    background: #f8f9fa;
    border-top: 1px solid #e0e0e0;
}

#donation-form .btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    position: relative;
    overflow: hidden;
}

#donation-form .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 ease;
}

#donation-form .btn:hover::before {
    left: 100%;
}

#donation-form .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

#donation-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

#donation-form .btn-secondary {
    background: #6c757d;
    color: white;
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

#donation-form .btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.4);
}

#donation-form .btn:active {
    transform: translateY(0);
}

#donation-form .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* Error Messages */
.step-error {
    background: #f8d7da;
    color: #721c24;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #f5c6cb;
    display: flex;
    align-items: center;
    animation: slideInDown 0.3s ease-out;
}

.step-error::before {
    content: "⚠";
    margin-right: 10px;
    font-size: 18px;
}

@keyframes slideInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

#donation-form .alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid transparent;
}

#donation-form .alert-danger {
    background: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

#donation-form .alert-success {
    background: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.loading-content {
    text-align: center;
    color: white;
    max-width: 400px;
    padding: 40px;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-content h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: 300;
}

.loading-content p {
    margin-bottom: 10px;
    opacity: 0.9;
}

body.loading {
    overflow: hidden;
}

/* Success/Error Pages */
.success-container,
.error-container {
    padding: 60px 40px;
    text-align: center;
}

.success-content,
.error-content {
    max-width: 500px;
    margin: 0 auto;
}

.success-icon,
.error-icon {
    margin-bottom: 30px;
}

.success-container h2,
.error-container h2 {
    margin-bottom: 30px;
    font-size: 2.2rem;
    font-weight: 300;
}

.success-container h2 {
    color: #4CAF50;
}

.error-container h2 {
    color: #f44336;
}

.success-details {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin: 30px 0;
    text-align: left;
}

.success-details p {
    margin-bottom: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.success-details p:last-child {
    border-bottom: none;
}

.success-message,
.error-message {
    margin: 30px 0;
    line-height: 1.8;
    color: #666;
}

.success-actions,
.error-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

/* Terms Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    background: white;
    border-radius: 15px;
    max-width: 600px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    animation: slideInUp 0.3s ease-out;
}

@keyframes slideInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-header {
    padding: 25px 30px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.modal-header h3 {
    margin: 0;
    color: #333;
    font-size: 1.3rem;
}

.close-modal {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: #f0f0f0;
    color: #333;
}

.modal-body {
    padding: 30px;
    max-height: 400px;
    overflow-y: auto;
}

.modal-body h4 {
    margin: 20px 0 10px 0;
    color: #333;
    font-size: 1.1rem;
}

.modal-body p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #666;
}

.modal-footer {
    padding: 20px 30px;
    border-top: 1px solid #e0e0e0;
    text-align: right;
    background: #f8f9fa;
}

body.modal-open {
    overflow: hidden;
}

/* Validation Engine Overrides */
.formErrorArrow {
    display: none !important;
}

.formError {
    position: absolute;
    left: 50%;
    top: -55px; /* Điều chỉnh số này để tooltip không đè lên input */
    transform: translateX(-50%);
    z-index: 9999;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateX(-50%) translateY(18px);}
    to { opacity: 1; transform: translateX(-50%) translateY(8px);}
}

.formError .formErrorContent {
    padding-bottom: 18px; 
    position: relative;
    background: #fff;
    color: #e53935;
    border: 2px solid #e53935;
    border-radius: 8px;
    padding: 12px 20px;
    box-shadow: 0 2px 8px rgba(229,57,53,0.08);
    width: 200px;
    font-size: 15px;
    word-break: break-word;
    box-sizing: border-box;
}


.formError .formErrorContent::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 100%; /* Đặt mũi tên ngay dưới content */
    transform: translateX(-50%);
    border-left: 11px solid transparent;
    border-right: 11px solid transparent;
    border-top: 12px solid #ff8a8a; /* màu viền ngoài */
    z-index: 1;
}
.formError .formErrorContent::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #fff; /* màu nền tooltip */
    z-index: 2;
}
/* Đảm bảo tooltip hiển thị trên dialog */
.ui-dialog .formError,
.ui-dialog .formError .formErrorContent {
    z-index: 5000 !important;
}

/* Responsive */
@media (max-width: 480px) {
    .formError .formErrorContent {
        min-width: 120px;
        font-size: 12px;
        padding: 8px 10px;
    }
}


/* Validation Engine Custom Styles */
.validate {
    position: relative;
}

.validate.input-valid {
    border-color: #4CAF50 !important;
    background: #f8fff8 !important;
}

.validate.input-error {
    border-color: #f44336 !important;
    background: #fff8f8 !important;
}

/* Radio Button Validation Styles */
.radio.input-error + span {
    border-color: #f44336 !important;
    background: #fff8f8 !important;
}

.radio.input-valid + span {
    border-color: #4CAF50 !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 10px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .progress-bar {
        padding: 20px 15px;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .progress-line {
        display: none;
    }
    
    .progress-step {
        flex: 1;
        min-width: 80px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .step-label {
        font-size: 12px;
    }
    
    .step {
        padding: 30px 20px;
    }
    
    .step-content h2 {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .frequency-options,
    .amount-options {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .payment-methods {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .step-buttons {
        padding: 20px;
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        min-width: auto;
    }
    
    .modal-content {
        margin: 20px;
        max-width: none;
        width: calc(100% - 40px);
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 20px;
    }
    
    .success-actions,
    .error-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .loading-content {
        padding: 30px 20px;
    }
    
    .loading-content h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .progress-bar {
        padding: 15px 10px;
    }
    
    .progress-step {
        min-width: 70px;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .step-label {
        font-size: 11px;
    }
    
    .step {
        padding: 20px 15px;
    }
    
    .step-content h2 {
        font-size: 1.3rem;
    }
    
    .frequency-option span,
    .amount-option span {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .payment-method > div {
        padding: 15px;
    }
    
    .payment-icon {
        width: 30px;
        height: 30px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .step-buttons {
        padding: 15px;
    }
    
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    select {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .summary-section {
        padding: 20px;
    }
    
    .payment-details {
        padding: 20px;
    }
}

/* Print Styles */
@media print {
    body {
        background: white;
        color: black;
    }
    
    .donation-form-container {
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .progress-bar,
    .step-buttons,
    .btn {
        display: none !important;
    }
    
    .step {
        display: block !important;
        page-break-inside: avoid;
    }
    
    .step-content h2 {
        color: black;
    }
    
    .success-actions,
    .error-actions {
        display: none !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .progress-step.active .step-number {
        background: #000;
        color: #fff;
    }
    
    .btn-primary {
        background: #000;
        color: #fff;
    }
    
    .frequency-option input[type="radio"]:checked + span,
    .amount-option input[type="radio"]:checked + span {
        background: #000;
        color: #fff;
    }
    
    .payment-method input[type="radio"]:checked + div {
        background: #000;
        color: #fff;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .spinner {
        animation: none;
        border: 4px solid #ccc;
        border-top-color: #333;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    body {
        background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    }
    
    .donation-form-container {
        background: #2c3e50;
        color: #ecf0f1;
    }
    
    .progress-bar {
        background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    }
    
    .step-content h2 {
        color: #ecf0f1;
    }
    
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    select {
        background: #34495e;
        border-color: #4a5f7a;
        color: #ecf0f1;
    }
    
    input[type="text"]:focus,
    input[type="email"]:focus,
    input[type="tel"]:focus,
    input[type="number"]:focus,
    select:focus {
        border-color: #667eea;
        background: #3d5a80;
    }
    
    .frequency-option span,
    .amount-option span {
        background: #34495e;
        border-color: #4a5f7a;
        color: #ecf0f1;
    }
    
    .payment-method > div {
        background: #34495e;
        border-color: #4a5f7a;
        color: #ecf0f1;
    }
    
    .payment-details {
        background: #34495e;
        border-color: #4a5f7a;
    }
    
    .summary-section {
        background: #34495e;
        border-color: #4a5f7a;
    }
    
    .step-buttons {
        background: #34495e;
        border-color: #4a5f7a;
    }
    
    .modal-content {
        background: #2c3e50;
        color: #ecf0f1;
    }
    
    .modal-header {
        background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    }
    
    .modal-footer {
        background: #34495e;
    }
    
    label {
        color: #bdc3c7;
    }
    
    .summary-label {
        color: #bdc3c7;
    }
    
    .summary-value {
        color: #ecf0f1;
    }
}

/* Focus Styles for Accessibility */
*:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

.btn:focus {
    outline-color: rgba(255, 255, 255, 0.8);
}

/* Screen Reader Only Content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}

/* Selection Styles */
::selection {
    background: rgba(102, 126, 234, 0.3);
    color: inherit;
}

::-moz-selection {
    background: rgba(102, 126, 234, 0.3);
    color: inherit;
}

/* Additional Animation Classes */
.bounce-in {
    animation: bounceIn 0.6s ease-out;
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.slide-in-left {
    animation: slideInLeft 0.5s ease-out;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.slide-in-right {
    animation: slideInRight 0.5s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Pulse Animation for Important Elements */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }

.p-0 { padding: 0 !important; }
.p-1 { padding: 0.25rem !important; }
.p-2 { padding: 0.5rem !important; }
.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }
.p-5 { padding: 3rem !important; }

.d-none { display: none !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }
.d-grid { display: grid !important; }

.w-100 { width: 100% !important; }
.h-100 { height: 100% !important; }

.text-muted {
    color: #6c757d !important;
}

.text-primary {
    color: #667eea !important;
}

.text-success {
    color: #4CAF50 !important;
}

.text-danger {
    color: #f44336 !important;
}

.text-warning {
    color: #ff9800 !important;
}

.bg-light {
    background-color: #f8f9fa !important;
}

.bg-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

.bg-success {
    background-color: #4CAF50 !important;
}

.bg-danger {
    background-color: #f44336 !important;
}

.rounded {
    border-radius: 0.375rem !important;
}

.rounded-lg {
    border-radius: 0.5rem !important;
}

.rounded-xl {
    border-radius: 0.75rem !important;
}

.shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
}

.shadow {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06) !important;
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
}


/* Custom amount field styling */
#custom-amount {
    transition: all 0.3s ease;
}

#custom-amount:focus {
    border-color: #007cba;
    box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.2);
    outline: none;
}

/* Amount option styling */
.amount-option {
    transition: all 0.2s ease;
    cursor: pointer;
}

.amount-option:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.amount-option input[type="radio"]:checked + label,
.amount-option.selected {
    background: #007cba;
    color: white;
    border-color: #007cba;
}

/* Visual feedback for cleared fields */
.amount-option input[type="radio"]:not(:checked) + label {
    background: #f8f9fa;
    color: #495057;
}

/* Custom error styling */
.jd-custom-error,.custom-error {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    display: block;
    line-height: 1.4;
    animation: slideDown 0.3s ease-out;
}

.jd-custom-error- .error-icon {
    margin-right: 5px;
    font-style: normal;
    color: #dc3545;
}

.jd-custom-error .error-text {
    display: inline;
}

/* Input error state */
.input-error {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.2) !important;
}

/* Animation */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Position variants */
.custom-error.inline {
    display: inline-block;
    margin-left: 10px;
    margin-top: 0;
}

.custom-error.top {
    margin-bottom: 5px;
    margin-top: 0;
}

#tr_card_number, #tr_exp_date, #tr_cvv_code, #tr_card_type {
  margin-bottom: 35px;
}

.privacy-policy-section {
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

#div_agree_privacy_policy
{
    display:block;
}
.privacy-policy-header {
    margin-bottom: 15px;
}

.privacy-policy-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s ease;
}

.privacy-policy-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

.privacy-policy-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    position: relative;
}


.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
    color: #495057;
    user-select: none;
}

.privacy-message {
    margin-top: 10px;
}

.alert-info {
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #0c5460;
    padding: 12px 15px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    line-height: 1.4;
}

.info-icon {
    font-size: 16px;
    flex-shrink: 0;
}

.error-message {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 13px;
    margin-top: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .privacy-policy-section {
        margin: 15px 0;
        padding: 15px;
    }
    
    .checkbox-container {
        flex-direction: column;
        gap: 8px;
    }
    
    .checkbox-label {
        font-size: 13px;
    }
    
    .alert-info {
        font-size: 12px;
        padding: 10px 12px;
    }
}

/* Animation cho smooth transitions */
.privacy-policy-section {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Focus states for accessibility */
.privacy-checkbox:focus + .checkbox-label .checkmark {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

.privacy-policy-link:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

/* Chỉ style cho regular input fields khi có error */
input.input-error,
textarea.input-error,
select.input-error {
    border: 1px solid #dc3545;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.2);
}

/* Không cần style gì cho checkbox/radio vì không có class input-error */

/* Error message styling */
.custom-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}

/* Error icon */
.custom-error .error-icon {
    color: #dc3545;
    font-weight: bold;
}

/* Error message trong checkbox/radio containers */
.checkbox-container .custom-error,
.radio-container .custom-error,
.form-group .custom-error {
    margin-top: 8px;
    width: 100%;
}

/* ==========================================================================
   MODERN CAPTCHA CONTAINER STYLING
   ========================================================================== */

.modern-captcha-wrapper {
    margin: 32px auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    max-width: 500px;
    width: 100%;
}

/* ==========================================================================
   CAPTCHA CARD CONTAINER
   ========================================================================== */

.captcha-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    width: 100%;
    box-sizing: border-box;
}

.captcha-card:focus-within {
    border-color: #3b82f6;
    box-shadow: 
        0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.05),
        0 0 0 3px rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

/* ==========================================================================
   HEADER SECTION - FIT FULL WIDTH WITH ROUNDED CORNERS
   ========================================================================== */

.captcha-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 24px;
    text-align: center;
    color: white;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    /* Chỉ bo tròn góc trên để fit với card */
    border-radius: 14px 14px 0 0;
    /* Đảm bảo header nằm sát edge */
    position: relative;
    /* Loại bỏ khoảng trắng bằng cách extend ra ngoài */
    margin-left: -10px;
    margin-right: -10px;
    margin-top: -2px;
    /* Tăng width để cover border */
    width: calc(100% + 20px);
}

.captcha-title {
    margin: 0 0 8px 0;
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    line-height: 1.3;
}

.captcha-icon {
    opacity: 0.9;
    flex-shrink: 0;
}

.captcha-subtitle {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
    font-weight: 400;
    line-height: 1.4;
}

/* ==========================================================================
   CONTENT AREA
   ========================================================================== */

.captcha-content-area {
    padding: 32px 24px;
    background: #ffffff;
    width: 100%;
    box-sizing: border-box;
}

.captcha-instructions {
    text-align: center;
    margin-bottom: 24px;
}

.instruction-text {
    margin: 0;
    font-size: 15px;
    color: #374151;
    line-height: 1.5;
    font-weight: 500;
}

/* Plugin Container - Style the wrapper around plugin content */
.captcha-plugin-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    border: 2px dashed #e2e8f0;
    transition: all 0.2s ease;
    width: 100%;
    box-sizing: border-box;
}

.captcha-plugin-container:focus-within {
    border-color: #3b82f6;
    background: #f0f9ff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* ==========================================================================
   FOOTER SECTION - FIT FULL WIDTH
   ========================================================================== */

.captcha-footer {
    background: #f8fafc;
    padding: 16px 24px;
    border-top: 1px solid #e2e8f0;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    /* Bo tròn góc dưới để fit với card */
    border-radius: 0 0 14px 14px;
}

.help-text {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #64748b;
    line-height: 1.4;
    justify-content: center;
    text-align: center;
}

.help-icon {
    opacity: 0.7;
    flex-shrink: 0;
}

/* ==========================================================================
   PLUGIN CONTENT STYLING - Style elements generated by captcha plugin
   ========================================================================== */

/* Style plugin images */
.captcha-plugin-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background: white;
    padding: 8px;
}

/* Style plugin input fields */
.captcha-plugin-container input[type="text"] {
    width: 100%;
    max-width: 200px;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    letter-spacing: 1px;
    background: white;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.captcha-plugin-container input[type="text"]:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.captcha-plugin-container input[type="text"]::placeholder {
    color: #9ca3af;
    font-weight: 400;
    letter-spacing: normal;
}

/* Style plugin buttons (like refresh button) */
.captcha-plugin-container button,
.captcha-plugin-container input[type="button"] {
    background: #f1f5f9;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #64748b;
    font-size: 14px;
    min-height: 40px;
}

.captcha-plugin-container button:hover,
.captcha-plugin-container input[type="button"]:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
    color: #475569;
}

.captcha-plugin-container button:focus,
.captcha-plugin-container input[type="button"]:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Style plugin tables if any */
.captcha-plugin-container table {
    margin: 0 auto;
    border-collapse: collapse;
}

.captcha-plugin-container td {
    padding: 8px;
    text-align: center;
    vertical-align: middle;
}

/* ==========================================================================
   ERROR & SUCCESS STATES
   ========================================================================== */

.captcha-card.has-error {
    border-color: #ef4444;
    box-shadow: 
        0 4px 6px -1px rgba(239, 68, 68, 0.1),
        0 2px 4px -1px rgba(239, 68, 68, 0.06),
        0 0 0 3px rgba(239, 68, 68, 0.1);
}

.captcha-card.has-error .captcha-header {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.captcha-card.has-error .captcha-plugin-container {
    border-color: #ef4444;
    background: #fef2f2;
}

.captcha-card.has-success {
    border-color: #10b981;
    box-shadow: 
        0 4px 6px -1px rgba(16, 185, 129, 0.1),
        0 2px 4px -1px rgba(16, 185, 129, 0.06),
        0 0 0 3px rgba(16, 185, 129, 0.1);
}

.captcha-card.has-success .captcha-header {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.captcha-card.has-success .captcha-plugin-container {
    border-color: #10b981;
    background: #f0fdf4;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 640px) {
    .modern-captcha-wrapper {
        margin: 24px 16px;
        max-width: none;
    }
    
    .captcha-card {
        border-radius: 12px;
    }
    
    .captcha-header {
        padding: 20px 16px;
        border-radius: 10px 10px 0 0;
    }
    
    .captcha-title {
        font-size: 18px;
        flex-direction: column;
        gap: 4px;
    }
    
    .captcha-content-area {
        padding: 24px 16px;
    }
    
    .captcha-plugin-container {
        padding: 16px;
        gap: 12px;
    }
    
    .captcha-footer {
        padding: 12px 16px;
        border-radius: 0 0 10px 10px;
    }
    
    .help-text {
        font-size: 12px;
        flex-direction: column;
        gap: 4px;
    }
}

@media (max-width: 480px) {
    .captcha-card {
        border-radius: 8px;
    }
    
    .captcha-header {
        border-radius: 6px 6px 0 0;
    }
    
    .captcha-content-area {
        padding: 20px 12px;
    }
    
    .captcha-footer {
        border-radius: 0 0 6px 6px;
    }
    
    .captcha-plugin-container input[type="text"] {
        font-size: 16px; /* Prevent zoom on iOS */
        max-width: 100%;
    }
}

/* ==========================================================================
   DARK THEME SUPPORT
   ========================================================================== */

@media (prefers-color-scheme: dark) {
    .captcha-card {
        background: #1f2937;
        box-shadow: 
            0 4px 6px -1px rgba(0, 0, 0, 0.3),
            0 2px 4px -1px rgba(0, 0, 0, 0.2),
            0 0 0 1px rgba(255, 255, 255, 0.1);
    }
    
    .captcha-content-area {
        background: #1f2937;
    }
    
    .instruction-text {
        color: #e5e7eb;
    }
    
    .captcha-plugin-container {
        background: #111827;
        border-color: #374151;
    }
    
    .captcha-plugin-container:focus-within {
        background: #1e293b;
        border-color: #3b82f6;
    }
    
    .captcha-plugin-container img {
        background: #1f2937;
    }
    
    .captcha-plugin-container input[type="text"] {
        background: #1f2937;
        border-color: #374151;
        color: #f9fafb;
    }
    
    .captcha-plugin-container input[type="text"]::placeholder {
        color: #6b7280;
    }
    
    .captcha-plugin-container button,
    .captcha-plugin-container input[type="button"] {
        background: #374151;
        border-color: #4b5563;
        color: #d1d5db;
    }
    
    .captcha-plugin-container button:hover,
    .captcha-plugin-container input[type="button"]:hover {
        background: #4b5563;
        border-color: #6b7280;
        color: #f3f4f6;
    }
    
    .captcha-footer {
        background: #111827;
        border-color: #374151;
    }
    
    .help-text {
        color: #9ca3af;
    }
}

/* ==========================================================================
   ACCESSIBILITY & PERFORMANCE
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .captcha-card:focus-within {
        transform: none;
    }
}

@media (prefers-contrast: high) {
    .captcha-card {
        border: 3px solid #000000;
    }
    
    .captcha-plugin-container {
        border: 3px solid #000000;
    }
}

/* Focus visible for keyboard navigation */
.captcha-card:focus-visible {
    outline: 3px solid #3b82f6;
    outline-offset: 2px;
}

/* Invisible reCAPTCHA */
.captcha-invisible {
    margin: 0;
    padding: 0;
}

/* Print styles */
@media print {
    .modern-captcha-wrapper {
        display: none !important;
    }
}

/* End of CSS */

