﻿html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    border-left: 1px solid #111;
    border-right: 1px solid #111;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 20px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    border-left: 1px solid #111;
    border-right: 1px solid #111;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#container {
    padding: 2em;
    flex: 1 1 auto;
    width: 80%;
    text-align: center;
}

#footer {
    color: #707070;
    height: 2em;
    background-color: #f8f9fa;
    padding: 10px 0;
    color: #6c757d;
    font-size: 12px;
}

.navbar {
    background-color: #f8f9fa;
}

.navbar-brand {
    font-size: 24px;
    font-weight: bold;
}

.navbar-nav .nav-link {
    padding: 8px 15px;
    color: #343a40;
}

.navbar-nav .nav-link:hover {
    color: #007bff;
}

#selectedWord {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.spanclass {
    padding: 5px;
    cursor: pointer;
    background-color: orange;
    display: none;
    position: absolute;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}


/* Login Page Styles */

.login-container {
    max-width: 400px;
    margin: 2rem auto;
    padding: 2rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.form-floating {
    margin-bottom: 1rem;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-options {
    margin-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.external-auth {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #dee2e6;
}

.auth-wrapper,
.register-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-color: var(--light-color);
    padding: 20px;
}

.auth-container,
.register-container {
    width: 100%;
    max-width: 450px;
}

.auth-card,
.register-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    padding: 40px;
    border-top: 5px solid var(--primary-color);
}

.auth-header h2,
.register-header h2 {
    color: var(--primary-color);
    font-weight: 700;
}

.auth-divider {
    position: relative;
    text-align: center;
    margin: 20px 0;
}

.auth-divider span {
    background: white;
    padding: 0 10px;
    color: #888;
    position: relative;
    z-index: 1;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    border-top: 1px solid #ddd;
    z-index: 0;
}

.social-login {
    display: flex;
    gap: 15px;
}

.btn-google {
    background-color: #db4437;
    color: white !important;
    flex-grow: 1;
    transition: background-color 0.3s ease;
}

.btn-google:hover {
    background-color: #c13828;
    color: white !important;
}

.btn-microsoft {
    background-color: #00a4ef;
    color: white !important;
    flex-grow: 1;
    transition: background-color 0.3s ease;
}

.btn-microsoft:hover {
    background-color: #0089c9;
    color: white !important;
}

.btn-primary {
    background-color: #dd6b20;
    border-color: var(--primary-color);
    color: white !important;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #d97a26;
    border-color: #d97a26;
    color: white !important;
}


/* Hero Sections */

.quotes-hero-section {
    background: linear-gradient(135deg, #9f7aea 0%, #6b46c1 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 20px 20px;
    margin: 0;
}

.quotes-description {
    background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
    padding: 20px;
    border-radius: 0 0 15px 15px;
    color: white;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .quotes-hero-section {
        padding: 60px 0;
    }
}

.nav-item.dropdown .dropdown-toggle::after {
    display: none;
}

.nav-item.dropdown .dropdown-menu {
    margin-top: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    border: none;
    border-radius: 0.5rem;
}

.nav-item.dropdown .dropdown-item {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.nav-item.dropdown .dropdown-item:hover {
    background-color: #f8f9fa;
}

.nav-item.dropdown .dropdown-item i {
    width: 1.25rem;
    text-align: center;
}

.profile-pic-small img {
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.dropdown-menu-end {
    right: 0;
    left: auto;
}

.dropdown-item.text-danger:hover {
    background-color: #dc3545 !important;
    color: #fff !important;
}

/* User Profile Dropdown Styles */
.profile-avatar img {
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.profile-avatar img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.user-name {
    font-weight: 500;
    color: #333;
}

.user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.user-level-info {
    display: flex;
    gap: 0.25rem;
    margin-top: 0.125rem;
}

.user-level-info .level-badge {
    font-size: 0.7rem;
    padding: 0.125rem 0.375rem;
    border-radius: 12px;
    background: #007bff;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.user-level-info .title-badge {
    font-size: 0.7rem;
    padding: 0.125rem 0.375rem;
    border-radius: 12px;
    background: #6c757d;
    color: white;
    font-style: italic;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.user-level-info .level-badge:hover,
.user-level-info .title-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.dropdown-header {
    padding: 0.5rem 1rem;
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.dropdown-header .level-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    background: #007bff;
    color: white;
    font-weight: 600;
    margin-right: 0.25rem;
}

.dropdown-header .title-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    background: #6c757d;
    color: white;
    font-style: italic;
    opacity: 0.9;
}

.dropdown-header .xp-info {
    margin-left: auto;
}

.nav-item.dropdown .dropdown-toggle {
    color: #333 !important;
    text-decoration: none;
}

.nav-item.dropdown .dropdown-toggle:hover {
    color: #007bff !important;
}

.nav-item.dropdown .dropdown-menu {
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 8px;
    padding: 8px 0;
    min-width: 200px;
}

.nav-item.dropdown .dropdown-item {
    padding: 10px 20px;
    color: #333;
    transition: all 0.2s ease;
}

.nav-item.dropdown .dropdown-item:hover {
    background-color: #f8f9fa;
    color: #007bff;
    transform: translateX(5px);
}

.nav-item.dropdown .dropdown-item i {
    width: 16px;
    text-align: center;
}

.dropdown-menu-end {
    right: 0;
    left: auto;
}

.dropdown-item.text-danger:hover {
    background-color: #dc3545 !important;
    color: white !important;
}

/* Default profile avatar için CSS */
.default-profile-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-right: 8px;
}

.default-profile-avatar.large {
    width: 80px;
    height: 80px;
    font-size: 24px;
}

.default-profile-avatar.small {
    width: 30px;
    height: 30px;
    font-size: 12px;
}

/* Responsive */
@media (max-width: 768px) {
    .default-profile-avatar.large {
        width: 60px;
        height: 60px;
        font-size: 18px;
    }
}

/* Hover efekti */
.default-profile-avatar:hover {
    transform: scale(1.05);
    transition: transform 0.2s ease;
}