/* IVA Collect Onboard Portlet Styles */

.onboard-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.onboard-header {
    text-align: center;
    margin-bottom: 30px;
}

.onboard-title {
    color: #3498db;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
}

.onboard-subtitle {
    color: #7f8c8d;
    font-size: 16px;
    margin-bottom: 0;
}

.onboard-form {
    margin-top: 20px;
}

.form-section {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #3498db;
}

.section-title {
    color: #2980b9;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    margin-top: 0;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 4px;
    padding: 10px 15px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

.membership-radio {
    margin-bottom: 15px;
}

.membership-radio input[type="radio"] {
    margin-right: 10px;
}

.form-actions {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.btn-register {
    background-color: #3498db;
    border-color: #3498db;
    color: white;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn-register:hover {
    background-color: #2980b9;
    border-color: #2980b9;
}

/* Success Page Styles */
.success-message {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    font-size: 48px;
    color: #27ae60;
    margin-bottom: 20px;
}

.success-title {
    color: #27ae60;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
}

.success-description {
    color: #7f8c8d;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.success-actions {
    margin-top: 30px;
}

.btn-login {
    background-color: #3498db;
    border-color: #3498db;
    color: white;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.btn-login:hover {
    background-color: #2980b9;
    border-color: #2980b9;
    text-decoration: none;
    color: white;
}

/* Error Page Styles */
.error-message {
    text-align: center;
    padding: 40px 20px;
}

.error-icon {
    font-size: 48px;
    color: #e74c3c;
    margin-bottom: 20px;
}

.error-title {
    color: #e74c3c;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
}

.error-description {
    color: #7f8c8d;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.error-actions {
    margin-top: 30px;
}

.btn-retry {
    background-color: #95a5a6;
    border-color: #95a5a6;
    color: white;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.btn-retry:hover {
    background-color: #7f8c8d;
    border-color: #7f8c8d;
    text-decoration: none;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .onboard-container {
        margin: 10px;
        padding: 15px;
    }

    .onboard-title {
        font-size: 24px;
    }

    .form-section {
        padding: 15px;
    }

    .section-title {
        font-size: 18px;
    }
}

/* Alert Styles */
.alert {
    margin-bottom: 20px;
    padding: 12px 20px;
    border-radius: 4px;
}

.alert-danger {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.alert-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}