.register-section {
    padding: 100px 0 60px;
    min-height: 100vh;
    background: #f5f5f5;
}

.register-card {
    background: #fff;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Card Header */
.card-header-custom {
    text-align: center;
    margin-bottom: 30px;
}

.card-header-custom i {
    font-size: 45px;
    color: #007bff;
    margin-bottom: 15px;
}

.card-header-custom h2 {
    font-size: 26px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.card-header-custom p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

/* Form Styling */
.register-card .form-group {
    margin-bottom: 20px;
}

.register-card label {
    font-weight: 600;
    color: #333;
    font-size: 14px;
    margin-bottom: 8px;
}

.register-card label i {
    margin-right: 8px;
    color: #007bff;
}

.register-card .form-control {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px 15px;
    padding-right: 45px;
    font-size: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.register-card .form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.register-card .form-control::placeholder {
    color: #aaa;
}

.register-card .form-control.is-invalid {
    border-color: #dc3545;
}

.register-card .invalid-feedback {
    font-size: 12px;
}

.register-card .form-text {
    font-size: 12px;
}

/* Password Wrapper and Toggle Icon */
.password-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #666;
    z-index: 10;
}

.password-toggle:hover {
    color: #007bff;
}

.password-toggle i {
    font-size: 16px;
    color: inherit;
    margin: 0;
}

/* Error message for password fields */
.error-message {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
}

/* Password Requirements */
.password-requirements {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.password-requirements h6 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.password-requirements h6 i {
    color: #007bff;
    margin-right: 5px;
}

.password-requirements ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.password-requirements li {
    font-size: 13px;
    color: #666;
    padding: 4px 0;
    transition: color 0.2s ease;
}

.password-requirements li i {
    margin-right: 8px;
    font-size: 8px;
    color: #ccc;
    transition: color 0.2s ease;
}

.password-requirements li.valid {
    color: #28a745;
}

.password-requirements li.valid i {
    color: #28a745;
}

/* Checkbox */
.register-card .form-check {
    margin: 25px 0;
}

.register-card .form-check-label {
    font-size: 14px;
    color: #555;
}

.register-card .form-check-label a {
    color: #007bff;
    text-decoration: none;
}

.register-card .form-check-label a:hover {
    text-decoration: underline;
}

/* Submit Button */
.btn-submit {
    background-color: #f5a623;
    border: none;
    color: #fff;
    padding: 14px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    width: 100%;
    transition: background-color 0.2s ease;
}

.btn-submit:hover {
    background-color: #e09500;
    color: #fff;
}

/* Login Link */
.login-link {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #666;
}

.login-link a {
    color: #007bff;
    font-weight: 600;
    text-decoration: none;
}

.login-link a:hover {
    text-decoration: underline;
}

/* Alert Styling */
.register-card .alert {
    border-radius: 8px;
    padding: 12px 15px;
    margin-bottom: 20px;
    font-size: 14px;
}

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

.register-card .alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive */
@media (max-width: 767.98px) {
    .register-section {
        padding: 90px 15px 40px;
    }

    .register-card {
        padding: 30px 25px;
    }

    .card-header-custom h2 {
        font-size: 22px;
    }

    .card-header-custom i {
        font-size: 38px;
    }
}

@media (max-width: 575.98px) {
    .register-card {
        padding: 25px 20px;
    }

    .btn-submit {
        padding: 12px 25px;
        font-size: 15px;
    }
}