/* Registration Page Styles */

.register-container {
    min-height: calc(100vh - 66px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.register-box {
    background: white;
    border-radius: 20px;
    padding: 40px 24px;
    max-width: 440px;
    width: 100%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.register-header {
    text-align: center;
    margin-bottom: 32px;
}

.register-header h1 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
    color: #000;
}

.register-header p {
    font-size: 15px;
    color: #666;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

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

.form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.2s;
    background: #fafafa;
}

.form-group input:focus {
    outline: none;
    border-color: #0066ff;
    background: white;
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.form-group input::placeholder {
    color: #999;
}

/* Checkbox */
.checkbox-group {
    display: flex;
    align-items: start;
    gap: 10px;
    margin: 20px 0;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-group label {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    cursor: pointer;
}

.checkbox-group label a {
    color: #0066ff;
    text-decoration: none;
}

.checkbox-group label a:hover {
    text-decoration: underline;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    background: #0066ff;
    color: white;
    padding: 16px;
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 24px;
}

.btn-submit:hover {
    background: #0052cc;
}

.btn-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    margin: 24px 0;
    color: #999;
    font-size: 14px;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e0e0e0;
}

.divider::before {
    margin-right: 12px;
}

.divider::after {
    margin-left: 12px;
}

/* Social Buttons */
.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background: white;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    color: #000;
}

.btn-social:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.btn-social img {
    width: 20px;
    height: 20px;
}

/* Footer Text */
.register-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: #666;
}

.register-footer a {
    color: #0066ff;
    text-decoration: none;
    font-weight: 600;
}

.register-footer a:hover {
    text-decoration: underline;
}

/* Error Message */
.error-message {
    background: #fee;
    border: 1px solid #fcc;
    color: #c33;
    padding: 12px;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 20px;
    display: none;
}

.error-message.show {
    display: block;
}

/* Success Message */
.success-message {
    background: #efe;
    border: 1px solid #cfc;
    color: #3c3;
    padding: 12px;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 20px;
    display: none;
}

.success-message.show {
    display: block;
}

/* Password Strength */
.password-strength {
    margin-top: 8px;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    overflow: hidden;
    display: none;
}

.password-strength.show {
    display: block;
}

.password-strength-bar {
    height: 100%;
    transition: all 0.3s;
    border-radius: 2px;
}

.password-strength-bar.weak {
    width: 33%;
    background: #ff4444;
}

.password-strength-bar.medium {
    width: 66%;
    background: #ffaa00;
}

.password-strength-bar.strong {
    width: 100%;
    background: #00cc44;
}

.password-strength-text {
    font-size: 12px;
    margin-top: 4px;
    color: #666;
    display: none;
}

.password-strength-text.show {
    display: block;
}

/* Responsive */
@media (min-width: 768px) {
    .register-box {
        padding: 48px 40px;
    }

    .register-header h1 {
        font-size: 32px;
    }

    .social-buttons {
        flex-direction: row;
        gap: 12px;
    }

    .btn-social {
        flex: 1;
    }
}
