/* Registration Page Styles */
.register-wrapper {
    display: flex;
    justify-content: center;
    padding: 30px 0;
    background-color: #f8f9fa;
}

.register-container {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.register-container:hover {
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.12);
}

.register-header {
    background-color: #4b90d0;
    color: white;
    padding: 20px;
    text-align: center;
    position: relative;
}

.register-header h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.register-header h3 i {
    margin-right: 10px;
    font-size: 24px;
}

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

.form-section {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f1f1f1;
}

.form-section:last-of-type {
    border-bottom: none;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: #4b90d0;
    margin-bottom: 20px;
    padding-bottom: 8px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #4b90d0;
}

.register-form label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
    display: block;
}

.register-form .form-control {
    height: 45px;
    border-radius: 4px;
    border: 1px solid #dce4ec;
    transition: all 0.3s ease;
    box-shadow: none;
}

.register-form .form-control:focus {
    border-color: #4b90d0;
    box-shadow: 0 0 0 3px rgba(75, 144, 208, 0.1);
}

.register-form .input-icon {
    position: relative;
}

.register-form .input-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #7f8c8d;
    font-size: 16px;
}

.register-form .input-icon input {
    padding-left: 40px;
}

.location-select select {
    height: 45px;
    border-radius: 4px;
    border: 1px solid #dce4ec;
    width: 100%;
    padding: 0 15px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="6"><path d="M0 0L6 6L12 0" fill="none" stroke="%237f8c8d" stroke-width="2"/></svg>');
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px 6px;
    background-color: #fff;
}

.location-select select:focus {
    border-color: #4b90d0;
    box-shadow: 0 0 0 3px rgba(75, 144, 208, 0.1);
    outline: none;
}

.agreement-group {
    margin: 25px 0;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
}

.checkbox-container input[type="checkbox"] {
    margin-top: 3px;
    margin-right: 10px;
}

.checkbox-container label {
    font-weight: 400;
    line-height: 1.6;
}

.text-link {
    color: #4b90d0;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
}

.text-link:hover {
    color: #3978b3;
}

.captcha-container {
    margin: 20px 0;
    display: flex;
    justify-content: center;
}

.btn-register-submit {
    background-color: #2ecc71;
    color: white;
    border: none;
    height: 45px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    width: 100%;
    transition: all 0.3s ease;
}

.btn-register-submit:hover,
.btn-register-submit:focus {
    background-color: #27ae60;
    color: white;
    box-shadow: 0 4px 10px rgba(46, 204, 113, 0.3);
}

.btn-register-submit i {
    margin-left: 8px;
}

.login-link {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #7f8c8d;
}

.login-link a {
    color: #4b90d0;
    font-weight: 600;
    margin-left: 5px;
    transition: all 0.3s ease;
}

.login-link a:hover {
    color: #3978b3;
    text-decoration: none;
}

.alert {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 25px;
}

.alert i {
    font-size: 40px;
    margin-bottom: 15px;
}

.alert p {
    font-size: 16px;
    margin-bottom: 15px;
}

.alert-warning {
    background-color: rgba(243, 156, 18, 0.1);
    color: #d35400;
    border-left: 4px solid #f39c12;
}

.alert-success {
    background-color: rgba(46, 204, 113, 0.1);
    color: #27ae60;
    border-left: 4px solid #2ecc71;
}

.alert-info {
    background-color: rgba(52, 152, 219, 0.1);
    color: #2980b9;
    border-left: 4px solid #3498db;
}

.btn-login {
    display: inline-block;
    background-color: #4b90d0;
    color: white;
    border: none;
    padding: 10px 25px;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-login:hover,
.btn-login:focus {
    background-color: #3978b3;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(75, 144, 208, 0.3);
}

.btn-login i {
    margin-right: 8px;
}

.logout-btn {
    display: inline-block;
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 10px 25px;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.logout-btn:hover,
.logout-btn:focus {
    background-color: #c0392b;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(231, 76, 60, 0.3);
}

.logout-btn i {
    margin-right: 8px;
}

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

.help-block {
    font-size: 12px;
    color: #7f8c8d;
    margin-top: 5px;
}

/* Required field indicator */
.register-form label.required::after {
    content: " *";
    color: red;
    font-weight: bold;
}

/* Error state */
.input-error {
    border-color: red !important;
}

/* Password strength indicator */
#password-strength {
    margin-top: 8px;
    height: 8px;
    width: 100%;
    background: #eee;
    border-radius: 4px;
    overflow: hidden;
}

#password-strength-bar {
    height: 100%;
    width: 0%;
    background: red;
    transition: width 0.3s;
}

#password-strength-text {
    display: block;
    margin-top: 4px;
    font-size: 0.9em;
    color: #555;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .register-container {
        max-width: 100%;
        border-radius: 0;
        box-shadow: none;
    }

    .register-wrapper {
        padding: 0;
        background-color: #fff;
    }

    .section-title {
        font-size: 16px;
    }
}
