/*
 * ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 * Hawks Roleplay - Authentication Styles
 * © 2025 Hawks Roleplay. Tüm hakları saklıdır.
 * ⚠️  İzinsiz kullanım yasaktır.
 * ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 */

/* Auth Buttons */
.auth-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-auth {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Roboto', sans-serif;
}

.btn-login {
    background: transparent;
    color: #ff9933;
    border: 2px solid #ff9933;
}

.btn-login:hover {
    background: #ff9933;
    color: #010101;
    transform: translateY(-2px);
}

.btn-register {
    background: linear-gradient(135deg, #ff9933, #ff8800);
    color: #010101;
    box-shadow: 0 4px 15px rgba(255, 153, 51, 0.3);
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 153, 51, 0.4);
}

/* User Menu */
.user-menu {
    display: none;
    align-items: center;
    gap: 15px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 25px;
    border: 1px solid rgba(255, 153, 51, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.user-info:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #ff9933;
    transform: translateY(-2px);
}

.user-avatar {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #ff9933, #ff8800);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #010101;
    font-size: 1.1rem;
}

.user-name {
    color: #ffffff;
    font-weight: 500;
    font-size: 0.95rem;
}

.btn-logout {
    background: transparent;
    color: #ff4444;
    border: 2px solid #ff4444;
}

.btn-logout:hover {
    background: #ff4444;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Auth Modal */
.auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.auth-modal.active {
    opacity: 1;
    visibility: visible;
}

.auth-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.auth-modal-content {
    position: relative;
    background: rgba(8, 8, 8, 0.95);
    border: 2px solid #ff9933;
    border-radius: 20px;
    width: 90%;
    max-width: 450px;
    padding: 40px;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    backdrop-filter: blur(20px);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.7),
        inset 0 0 40px rgba(0, 0, 0, 0.5);
}

.auth-modal.active .auth-modal-content {
    transform: scale(1);
}

.auth-modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-modal-header h2 {
    color: #ff9933;
    font-size: 1.8rem;
    font-family: 'Orbitron', monospace;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.auth-modal-header p {
    color: #aaaaaa;
    font-size: 0.95rem;
}

.auth-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #ff9933;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.auth-modal-close:hover {
    background: rgba(255, 153, 51, 0.1);
    transform: rotate(90deg);
}

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

.auth-form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-weight: 500;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.auth-form-group label i {
    color: #ff9933;
}

.auth-form-group input {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 153, 51, 0.3);
    border-radius: 10px;
    color: #ffffff;
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
    transition: all 0.3s ease;
}

.auth-form-group input:focus {
    outline: none;
    border-color: #ff9933;
    box-shadow: 0 0 10px rgba(255, 153, 51, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

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

.auth-form-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #ff9933, #ff8800);
    color: #010101;
    border: none;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    font-family: 'Roboto', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.auth-form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 153, 51, 0.4);
}

.auth-form-submit:active {
    transform: translateY(0);
}

.auth-form-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 153, 51, 0.1);
}

.auth-form-footer p {
    color: #aaaaaa;
    font-size: 0.9rem;
}

.auth-form-footer a {
    color: #ff9933;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.auth-form-footer a:hover {
    color: #ff8800;
    text-decoration: underline;
}

/* Notifications */
.auth-notification {
    position: fixed;
    top: 100px;
    right: -400px;
    padding: 15px 25px;
    color: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 20000;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.auth-notification.show {
    right: 20px;
}

.auth-notification i {
    font-size: 1.3rem;
}

.auth-notification.success {
    background: linear-gradient(135deg, #00cc66, #00aa55);
}

.auth-notification.error {
    background: linear-gradient(135deg, #ff4444, #cc0000);
}

.auth-notification.info {
    background: linear-gradient(135deg, #ff9933, #ff8800);
}

/* Password Strength Indicator */
.password-strength {
    margin-top: 8px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

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

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

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

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

/* Responsive */
@media (max-width: 1024px) {
    .auth-buttons {
        gap: 8px;
    }

    .btn-auth {
        padding: 10px 15px;
        font-size: 0.85rem;
    }

    .btn-auth span {
        display: none;
    }

    .user-name {
        display: none;
    }
}

@media (max-width: 768px) {
    .auth-modal-content {
        width: 95%;
        padding: 30px 25px;
    }

    .auth-modal-header h2 {
        font-size: 1.5rem;
    }

    .auth-notification {
        min-width: 250px;
        right: -350px;
    }

    .auth-notification.show {
        right: 15px;
    }
}

@media (max-width: 480px) {
    .auth-modal-content {
        padding: 25px 20px;
    }

    .btn-auth {
        padding: 8px 12px;
    }

    .user-avatar {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
}

/* Loading State */
.auth-form-submit.loading {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
}

.auth-form-submit.loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid #010101;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Info Box */
.auth-info-box {
    background: rgba(255, 153, 51, 0.1);
    border: 1px solid rgba(255, 153, 51, 0.3);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.auth-info-box i {
    color: #ff9933;
    font-size: 1.2rem;
    margin-top: 2px;
}

.auth-info-box p {
    color: #cccccc;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

