/**
 * Copyright © 2025 TMH. All rights reserved.
 */

.rcs-consent-container {
    width: 100%;
    max-width: 100%;
    margin: 50px auto;
    padding: 20px;
    font-family: 'Arial', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    text-align: center;
}

.rcs-consent-form-wrapper {
    background: #fff;
    border-radius: 15px;
    padding: 60px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    text-align: left;
}

.rcs-consent-form {
    width: 100%;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
    text-align: left;
}

.form-group label.required {
    color: #333;
}

.form-group label.required::after {
    content: ' *';
    color: #e74c3c;
    font-weight: bold;
}



.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: #2196f3;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}

.consent-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.form-check-input {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    accent-color: #2196f3;
}

.consent-text {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin: 0;
    flex: 1;
    text-align: left;
}

.submit-btn {
    width: 100%;
    padding: 15px 30px;
    background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(33, 150, 243, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Success and Error Messages */
.success-message,
.error-message {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
}

.success-message {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.validation-error {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

.form-control.error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .rcs-consent-container {
        padding: 10px;
        max-width: 100%;
    }

    .rcs-consent-form-wrapper {
        padding: 40px 30px;
        max-width: 95%;
        width: 95%;
        margin: 0 auto;
    }

    .consent-checkbox {
        flex-direction: column;
        gap: 10px;
    }

    .form-check-input {
        align-self: flex-start;
    }
}

@media (max-width: 480px) {
    .rcs-consent-form-wrapper {
        padding: 20px 15px;
    }

    .form-control {
        font-size: 14px;
        padding: 10px 12px;
    }

    .submit-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
}
