/**
 * Matematik Vakti - Giriş Sistemi CSS
 * Version: 1.0.0
 * Modern, responsive tasarım
 */

/* =========================================================
   AUTH CONTAINER
   ========================================================= */

.mv-auth-container {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.mv-auth-box {
    width: 100%;
    max-width: 450px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 40px;
    animation: slideUp 0.4s ease-out;
}

.mv-auth-box-wide {
    max-width: 600px;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
   HEADER
   ========================================================= */

.mv-auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.mv-auth-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin: 0 0 10px;
}

.mv-auth-header p {
    font-size: 15px;
    color: #666;
    margin: 0;
}

/* =========================================================
   SOCIAL LOGIN
   ========================================================= */

.mv-social-login {
    margin-bottom: 20px;
}

.mv-btn-google {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 14px 24px;
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mv-btn-google:hover {
    border-color: #4285f4;
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.2);
    text-decoration: none;
    color: #333;
}

.mv-btn-google svg {
    flex-shrink: 0;
}

/* =========================================================
   DIVIDER
   ========================================================= */

.mv-auth-divider {
    position: relative;
    text-align: center;
    margin: 25px 0;
}

.mv-auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e0e0e0;
}

.mv-auth-divider span {
    position: relative;
    background: #fff;
    padding: 0 15px;
    color: #999;
    font-size: 13px;
}

/* =========================================================
   FORM
   ========================================================= */

.mv-auth-form {
    margin-bottom: 20px;
}

.mv-form-group {
    margin-bottom: 20px;
}

.mv-form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.mv-form-group label i {
    color: #667eea;
    font-size: 16px;
}

.mv-form-group input[type="text"],
.mv-form-group input[type="email"],
.mv-form-group input[type="password"],
.mv-form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.mv-form-group input:focus,
.mv-form-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.mv-form-group small {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #666;
}

.mv-field-info {
    display: block;
    margin-top: 6px;
    font-size: 12px;
}

/* Password Input */
.mv-password-input {
    position: relative;
}

.mv-password-input input {
    padding-right: 45px;
}

.mv-password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 8px;
    font-size: 18px;
}

.mv-password-toggle:hover {
    color: #667eea;
}

/* Password Strength */
.mv-password-strength {
    margin-top: 8px;
}

.mv-password-strength-bar {
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 4px;
    position: relative;
}

.mv-password-strength-bar::before {
    content: '';
    display: block;
    height: 100%;
    width: 0%;
    background: #e74c3c;
    transition: all 0.3s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.mv-password-strength-bar.weak::before {
    width: 33%;
    background: #e74c3c;
}

.mv-password-strength-bar.medium::before {
    width: 66%;
    background: #f39c12;
}

.mv-password-strength-bar.strong::before {
    width: 100%;
    background: #27ae60;
}

.mv-password-strength-text {
    font-size: 12px;
    font-weight: 600;
}

.mv-password-match {
    font-weight: 600;
}

/* Form Row */
.mv-form-row {
    display: grid;
    gap: 15px;
    margin-bottom: 20px;
}

.mv-form-row-2 {
    grid-template-columns: 1fr 1fr;
}

/* Checkbox */
.mv-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
}

.mv-checkbox input[type="checkbox"] {
    margin-top: 3px;
    cursor: pointer;
    width: auto;
}

.mv-checkbox span a {
    color: #667eea;
    text-decoration: none;
}

.mv-checkbox span a:hover {
    text-decoration: underline;
}

.mv-checkbox-required input[type="checkbox"] {
    accent-color: #667eea;
}

/* Terms Wrap */
.mv-terms-wrap {
    margin-top: 10px;
    margin-bottom: 25px;
}

/* Options */
.mv-form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.mv-forgot-password {
    font-size: 13px;
    color: #667eea;
    text-decoration: none;
}

.mv-forgot-password:hover {
    text-decoration: underline;
}

/* reCAPTCHA */
.mv-recaptcha-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

/* Buttons */
.mv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.mv-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.mv-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
    color: #fff;
}

.mv-btn-primary:active {
    transform: translateY(0);
}

.mv-btn-secondary {
    background: #6c757d;
    color: #fff;
}

.mv-btn-secondary:hover {
    background: #5a6268;
    color: #fff;
}

.mv-btn-block {
    width: 100%;
}

.mv-btn-lg {
    padding: 14px 28px;
    font-size: 16px;
}

.mv-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Messages */
.mv-form-message {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    display: none;
}

.mv-form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.mv-form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Footer */
.mv-auth-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.mv-auth-footer p {
    margin: 10px 0;
    font-size: 14px;
    color: #666;
}

.mv-auth-footer a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.mv-auth-footer a:hover {
    text-decoration: underline;
}

/* =========================================================
   VERIFY PAGES
   ========================================================= */

.mv-verify-success,
.mv-verify-error {
    text-align: center;
    padding: 60px 40px;
    max-width: 500px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.mv-verify-success i {
    font-size: 64px;
    color: #27ae60;
    margin-bottom: 20px;
    display: block;
}

.mv-verify-error i {
    font-size: 64px;
    color: #e74c3c;
    margin-bottom: 20px;
    display: block;
}

.mv-verify-success h2,
.mv-verify-error h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #333;
}

.mv-verify-success p,
.mv-verify-error p {
    font-size: 16px;
    color: #666;
    margin-bottom: 25px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 768px) {
    .mv-auth-container {
        padding: 20px 15px;
    }
    
    .mv-auth-box {
        padding: 30px 20px;
    }
    
    .mv-form-row-2 {
        grid-template-columns: 1fr;
    }
    
    .mv-auth-header h1 {
        font-size: 24px;
    }
    
    .mv-form-options {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .mv-auth-box {
        padding: 25px 15px;
    }
    
    .mv-auth-header h1 {
        font-size: 22px;
    }
    
    .mv-btn-google {
        font-size: 14px;
        padding: 12px 20px;
    }
}