/**
 * Yegem Dijital Ödev Takip Sistemi - Custom Bootstrap Override Styles
 * Modern, yaratıcı ve mobil uyumlu tasarım
 */

:root {
    --primary-green: #2d8659;
    --secondary-green: #3da870;
    --light-green: #4fd18b;
    --dark-green: #1e5a3d;
    --bg-light: #f8f9fa;
    --text-dark: #212529;
    --text-light: #6c757d;
    --border-color: #dee2e6;
    --gradient-primary: linear-gradient(135deg, #2d8659 0%, #3da870 100%);
    --gradient-light: linear-gradient(135deg, #4fd18b 0%, #3da870 100%);
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(to bottom, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Selection color */
::selection {
    background: var(--primary-green);
    color: white;
}

::-moz-selection {
    background: var(--primary-green);
    color: white;
}

/* Navbar Customization */
.navbar {
    background: var(--gradient-primary) !important;
    border-radius: 0 0 25px 25px;
    padding: 1.25rem 0;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 1030;
}

.navbar.scrolled {
    border-radius: 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 0.75rem 0;
    backdrop-filter: blur(15px);
    background: rgba(45, 134, 89, 0.95) !important;
}

/* Navbar linklerini daha görünür yap */
.navbar .nav-link {
    color: white !important;
    font-weight: 500 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.navbar .nav-link:hover {
    color: #f0f0f0 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}

/* Navbar toggler daha görünür */
.navbar-toggler {
    border: 2px solid rgba(255, 255, 255, 0.8) !important;
    padding: 0.4rem 0.6rem;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar-brand {
    font-size: 1.25rem;
    font-weight: 700;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.navbar-brand:hover {
    transform: scale(1.02);
}

.logo-wrapper {
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-brand:hover .logo-wrapper {
    transform: scale(1.05);
}

.navbar-brand .badge {
    font-size: 1rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.navbar-brand:hover .badge {
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.brand-text {
    font-weight: 600;
    letter-spacing: 0.5px;
}

.nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 0 0.25rem;
    position: relative;
    color: rgba(255, 255, 255, 0.95) !important;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    color: white !important;
}

.nav-link:hover::before {
    width: 80%;
}

.nav-link.btn {
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.nav-link.btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: white !important;
}

.navbar-toggler {
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    transition: all 0.3s ease;
}

.navbar-toggler:hover {
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.1);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.3);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Landing Page - Hero Section */
.landing-hero {
    padding: 120px 0 100px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
    min-height: 600px;
}

/* Hero Banner Background */
.hero-banner-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Hero Overlay - Saydam katman */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(248, 249, 250, 0.65);
    z-index: 1;
    backdrop-filter: blur(2px);
}

.landing-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(45, 134, 89, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    animation: pulse 4s ease-in-out infinite;
}

.landing-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(61, 168, 112, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    animation: pulse 5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out;
    position: relative;
}

.hero-content h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    animation: expandWidth 1.5s ease-out 0.5s forwards;
    opacity: 0;
}

@keyframes expandWidth {
    to {
        width: 200px;
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-stats {
    margin-top: 2rem;
}

.stat-item {
    display: flex;
    align-items: center;
    font-weight: 500;
}

.hero-image {
    position: relative;
    z-index: 2;
}

.floating-card {
    animation: float 3s ease-in-out infinite;
    border-radius: 20px;
    max-width: 400px;
    margin: 0 auto;
    position: relative;
    overflow: visible;
}

.floating-card::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: var(--gradient-primary);
    border-radius: 25px;
    opacity: 0.1;
    z-index: -1;
    animation: pulse-ring 2s ease-in-out infinite;
}

@keyframes pulse-ring {
    0%, 100% {
        transform: scale(1);
        opacity: 0.1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.15;
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(45, 134, 89, 0.05) 0%, transparent 100%);
    border-radius: 20px;
    pointer-events: none;
}

.hero-decoration {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.1;
    z-index: 0;
}

.hero-decoration-1 {
    width: 100px;
    height: 100px;
    top: -20px;
    right: -20px;
    animation: float 4s ease-in-out infinite;
}

.hero-decoration-2 {
    width: 60px;
    height: 60px;
    bottom: 20px;
    left: -30px;
    animation: float 3s ease-in-out infinite reverse;
}

.hero-decoration-3 {
    width: 40px;
    height: 40px;
    top: 50%;
    right: -10px;
    animation: float 2.5s ease-in-out infinite;
}

.avatar-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Eski message-bubble class'ı kaldırıldı - artık .message kullanılıyor */

/* Features Section */
.features-section {
    padding: 80px 0;
    background: white;
}

.feature-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid transparent;
    position: relative;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(45, 134, 89, 0.2) !important;
    border-color: var(--primary-green);
}

.feature-card:hover::before {
    opacity: 0.05;
}

.feature-card .card-body {
    position: relative;
    z-index: 1;
}

.feature-icon {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card:hover .feature-icon {
    transform: scale(1.15) rotate(5deg);
    background: var(--gradient-primary) !important;
    color: white !important;
    box-shadow: 0 10px 25px rgba(45, 134, 89, 0.3);
}

/* How It Works Section */
.how-it-works-section {
    padding: 80px 0;
}

.step-card {
    padding: 2rem;
    transition: all 0.3s ease;
    border-radius: 15px;
}

.step-card:hover {
    background: rgba(45, 134, 89, 0.05);
    transform: translateY(-5px);
}

.step-number {
    font-weight: bold;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(45, 134, 89, 0.2);
}

.step-card:hover .step-number {
    transform: scale(1.15) rotate(360deg);
    box-shadow: 0 8px 25px rgba(45, 134, 89, 0.4);
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
    animation: backgroundMove 20s linear infinite;
}

@keyframes backgroundMove {
    0% { background-position: 0 0; }
    100% { background-position: 100px 100px; }
}

.cta-section::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 6s ease-in-out infinite;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section .btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cta-section .btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-section .btn:hover::after {
    width: 400px;
    height: 400px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

/* Footer */
.footer-section {
    background: linear-gradient(135deg, #1e5a3d 0%, #2d8659 100%);
    color: #ffffff;
    padding: 60px 0 30px;
}

.footer-brand .badge {
    font-size: 1rem;
    letter-spacing: 1px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.footer-text {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-title {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--light-green);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--light-green);
    transform: translateX(5px);
    text-decoration: none;
}

.footer-links a i {
    font-size: 0.9rem;
    width: 20px;
    text-align: center;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.footer-contact a:hover {
    color: var(--light-green);
    text-decoration: none;
}

.footer-contact span {
    color: rgba(255, 255, 255, 0.85);
}

.footer-contact i {
    font-size: 1.1rem;
    width: 24px;
    color: var(--light-green);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-link:hover {
    background: var(--light-green);
    border-color: var(--light-green);
    color: #ffffff;
    transform: translateY(-5px) scale(1.1);
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(79, 209, 139, 0.3);
}

/* Footer Divider */
.footer-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin: 2rem 0 1.5rem;
}

/* Footer Copyright */
.footer-copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-copyright strong {
    color: #ffffff;
}

/* Footer Legal Links */
.footer-legal-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-legal-links a:hover {
    color: var(--light-green);
    text-decoration: none;
}

.footer-legal-links span {
    color: rgba(255, 255, 255, 0.3);
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-section {
        padding: 40px 0 20px;
        margin-top: 40px;
    }
    
    .footer-title {
        margin-top: 2rem;
        margin-bottom: 1rem;
    }
    
    .footer-title:first-child {
        margin-top: 0;
    }
    
    .social-links {
        justify-content: center;
        margin-top: 2rem;
    }
    
    .footer-legal-links {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .footer-copyright {
        text-align: center;
        margin-bottom: 1rem;
    }
}

/* Responsive */
.min-vh-75 {
    min-height: 75vh;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .navbar {
        border-radius: 0 0 15px 15px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-image {
        margin-top: 3rem;
    }
    
    .floating-card {
        max-width: 100%;
    }
    
    .features-section,
    .how-it-works-section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.75rem 0;
    }
    
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    .nav-link {
        padding: 0.5rem 1rem !important;
    }
    
    .landing-hero {
        padding: 80px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .hero-content .lead {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem !important;
    }
    
    .hero-buttons .btn {
        width: 100%;
        margin: 0;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem !important;
        text-align: center;
    }
    
    .stat-item {
        justify-content: center;
    }
    
    .features-section,
    .how-it-works-section,
    .cta-section {
        padding: 50px 0;
    }
    
    .feature-card,
    .step-card {
        margin-bottom: 1.5rem;
    }
    
    .feature-card .card-body {
        padding: 1.5rem !important;
    }
    
    .step-card {
        padding: 1.5rem;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .cta-section .lead {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .hero-content .lead {
        font-size: 1rem;
    }
    
    .hero-buttons .btn {
        font-size: 1rem;
        padding: 0.75rem 2rem;
    }
    
    .features-section h2,
    .how-it-works-section h2 {
        font-size: 2rem;
    }
    
    .feature-icon {
        width: 60px !important;
        height: 60px !important;
    }
    
    .feature-icon i {
        font-size: 1.5rem !important;
    }
    
    .step-number {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.25rem !important;
    }
}

/* Auth Pages */
.auth-page {
    padding: 60px 0;
    min-height: calc(100vh - 200px);
}

.auth-card {
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    padding: 3rem;
    border: none;
    max-width: 600px;
    margin: 0 auto;
}

.auth-card h2 {
    color: var(--primary-green);
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    font-size: 2rem;
}

.form-control, .form-select {
    border-radius: 10px;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    transition: all 0.3s;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(45, 134, 89, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    border-radius: 10px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: var(--gradient-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-success {
    background: var(--gradient-primary);
    border: none;
}

.btn-outline-success {
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
}

.btn-outline-success:hover {
    background: var(--primary-green);
    color: white;
}

/* Role Selection Cards */
.role-selection {
    padding: 60px 0;
}

.role-selection h2 {
    color: var(--primary-green);
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
}

.role-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.role-card {
    background: white;
    border-radius: 20px;
    padding: 3rem 2rem;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s;
    box-shadow: var(--shadow);
    border: 2px solid transparent;
    text-align: center;
}

.role-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-green);
    color: var(--text-dark);
}

.role-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
}

.role-card h3 {
    color: var(--primary-green);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.role-card p {
    color: var(--text-light);
    margin: 0;
}

/* Dashboard */
.dashboard-page {
    padding: 2rem 0;
    min-height: calc(100vh - 200px);
    background: #f8f9fa;
}

.dashboard-page .container-fluid {
    max-width: 1920px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.dashboard-page .row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    margin-left: calc(var(--bs-gutter-x) * -0.5);
    margin-right: calc(var(--bs-gutter-x) * -0.5);
}

.dashboard-page .row > * {
    padding-left: calc(var(--bs-gutter-x) * 0.5);
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    margin-bottom: 0;
}

.dashboard-sidebar {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow);
    height: fit-content;
    position: sticky;
    top: 2rem;
    margin-bottom: 2rem;
}

.profile-card {
    text-align: center;
}

.profile-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 4px solid var(--primary-green);
    box-shadow: var(--shadow);
}

.profile-card h3 {
    color: var(--primary-green);
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.field-name {
    color: var(--secondary-green);
    font-weight: 600;
    margin: 0.5rem 0;
    display: block;
}

.dashboard-main {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
}

.dashboard-main-full {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
    width: 100%;
}

.dashboard-content {
    padding: 0;
}

.dashboard-content .row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1.5rem;
}

.dashboard-content .row.g-3 {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
}

.dashboard-content .row.g-4 {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1.5rem;
}

.dashboard-content .row.g-5 {
    --bs-gutter-x: 2rem;
    --bs-gutter-y: 2rem;
}

.dashboard-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 3px solid var(--border-color);
    padding-bottom: 0.5rem;
    flex-wrap: wrap;
}

.tab {
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    color: var(--text-light);
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
    font-weight: 600;
    border-radius: 10px 10px 0 0;
    white-space: nowrap;
    font-size: 0.95rem;
}

.tab:hover, .tab.active {
    color: var(--primary-green);
    border-bottom-color: var(--primary-green);
    background: rgba(45, 134, 89, 0.1);
}

@media (max-width: 768px) {
    .dashboard-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }
    
    .dashboard-tabs::-webkit-scrollbar {
        height: 4px;
    }
    
    .dashboard-tabs::-webkit-scrollbar-thumb {
        background: var(--primary-green);
        border-radius: 2px;
    }
    
    .tab {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        flex-shrink: 0;
    }
}

.tab.readonly {
    color: var(--text-dark);
    cursor: default;
    font-weight: 700;
    background: rgba(45, 134, 89, 0.15);
}

/* Student/Teacher Grid */
.student-grid, .teacher-grid, .children-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

@media (min-width: 1400px) {
    .student-grid, .teacher-grid, .children-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 2.5rem;
    }
}

@media (min-width: 1920px) {
    .student-grid, .teacher-grid, .children-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 3rem;
    }
}

@media (max-width: 992px) {
    .student-grid, .teacher-grid, .children-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .student-grid, .teacher-grid, .children-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 1.25rem;
    }
}

@media (max-width: 576px) {
    .student-grid, .teacher-grid, .children-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.student-card, .teacher-card, .child-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s;
    border: 2px solid transparent;
    box-shadow: var(--shadow-sm);
}

.student-card:hover, .teacher-card:hover, .child-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--primary-green);
    color: var(--text-dark);
}

.student-photo, .teacher-photo, .child-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid var(--primary-green);
    box-shadow: var(--shadow);
}

.student-card h4, .teacher-card h4, .child-card h4 {
    color: var(--primary-green);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Chat Interface */
.chat-container {
    display: flex;
    flex-direction: column;
    max-height: 700px;
    min-height: 500px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.chat-header {
    background: var(--gradient-primary);
    color: white;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.chat-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    background: #f8f9fa;
}

.message {
    margin-bottom: 0.5rem;
    padding: 0.5rem 0.75rem 0.25rem 0.75rem;
    border-radius: 7.5px;
    max-width: 65%;
    min-width: 100px;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    position: relative;
    animation: fadeIn 0.3s;
    display: inline-block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.message-sent {
    background: var(--gradient-primary);
    color: white;
    margin-left: auto;
    text-align: right;
    border-bottom-right-radius: 5px;
}

.message-received {
    background: white;
    color: var(--text-dark);
    border-bottom-left-radius: 5px;
    box-shadow: var(--shadow-sm);
}

.message-time {
    font-size: 0.75rem;
    opacity: 0.7;
    display: block;
    margin-top: 0.5rem;
}

.message-image {
    max-width: 100%;
    border-radius: 10px;
    margin-top: 0.5rem;
    box-shadow: var(--shadow-sm);
}

.chat-form {
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    background: white;
    border-top: 2px solid var(--border-color);
    align-items: flex-end;
}

.chat-form textarea {
    flex: 1;
    border-radius: 20px;
    border: 2px solid var(--border-color);
    padding: 0.75rem 1rem;
    resize: none;
}

.chat-form textarea:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(45, 134, 89, 0.25);
}

.file-label {
    cursor: pointer;
    padding: 0.75rem 1rem;
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    font-size: 1.25rem;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.file-label:hover {
    background: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
}

/* Notes & Reports */
.notes-list, .reports-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.note-card, .report-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 1.5rem;
    border-radius: 15px;
    border-left: 5px solid var(--primary-green);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

.note-card:hover, .report-card:hover {
    box-shadow: var(--shadow);
    transform: translateX(5px);
}

.note-card h4, .report-card h4 {
    color: var(--primary-green);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.report-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-approved {
    background: #d4edda;
    color: #155724;
}

.status-rejected {
    background: #f8d7da;
    color: #721c24;
}

.status-active {
    background: #d4edda;
    color: #155724;
}

.status-blocked {
    background: #f8d7da;
    color: #721c24;
}

/* Admin Dashboard */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-green);
}

.stat-number {
    font-size: 3rem;
    color: var(--primary-green);
    font-weight: 700;
    margin: 1rem 0;
    display: block;
}

.stat-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.stat-link:hover {
    text-decoration: underline;
    color: var(--dark-green);
}

/* Data Table - Bootstrap override */
.table {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.table thead th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.table tbody tr {
    transition: all 0.3s;
}

.table tbody tr:hover {
    background: rgba(45, 134, 89, 0.05);
}

/* Alerts */
.alert {
    border-radius: 15px;
    border: none;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.alert-error, .alert-danger {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

/* Content Header */
.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.content-header h2 {
    color: var(--primary-green);
    font-weight: 700;
    margin: 0;
}

/* Forms - Bootstrap collapse için */
.collapse {
    transition: all 0.3s ease;
}

/* Responsive */
/* Large screens (HD, FHD) */
@media (min-width: 1400px) {
    .dashboard-page .container-fluid {
        padding-left: 3rem;
        padding-right: 3rem;
    }
    
    .dashboard-page .row {
        --bs-gutter-x: 2rem;
    }
    
    .dashboard-main,
    .dashboard-main-full {
        padding: 3rem;
    }
    
    .dashboard-sidebar {
        padding: 2.5rem;
    }
    
    .dashboard-content .row {
        --bs-gutter-x: 2rem;
        --bs-gutter-y: 2rem;
    }
}

@media (min-width: 1920px) {
    .dashboard-page .container-fluid {
        padding-left: 4rem;
        padding-right: 4rem;
    }
    
    .dashboard-page .row {
        --bs-gutter-x: 2.5rem;
    }
    
    .dashboard-main,
    .dashboard-main-full {
        padding: 3.5rem;
    }
    
    .dashboard-content .row {
        --bs-gutter-x: 2.5rem;
        --bs-gutter-y: 2.5rem;
    }
}

@media (max-width: 992px) {
    .dashboard-page {
        padding: 1.5rem 0;
    }
    
    .dashboard-page .container-fluid {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .dashboard-page .row {
        --bs-gutter-x: 1rem;
    }
    
    .dashboard-sidebar {
        position: static;
        margin-bottom: 1.5rem;
    }
    
    .dashboard-main,
    .dashboard-main-full {
        padding: 1.5rem;
    }
    
    .dashboard-content .row {
        --bs-gutter-x: 1rem;
        --bs-gutter-y: 1rem;
    }
    
    .landing-content h1 {
        font-size: 2.5rem;
    }
    
    .landing-content .lead {
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    .dashboard-page {
        padding: 1rem 0;
    }
    
    .dashboard-page .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .dashboard-page .row {
        --bs-gutter-x: 0.75rem;
    }
    
    .dashboard-sidebar {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .dashboard-main,
    .dashboard-main-full {
        padding: 1.25rem;
        border-radius: 15px;
    }
    
    .dashboard-content .row {
        --bs-gutter-x: 0.75rem;
        --bs-gutter-y: 0.75rem;
    }
    
    .auth-card {
        padding: 2rem 1.5rem;
    }
    
    .role-cards {
        grid-template-columns: 1fr;
    }
    
    .student-grid, .teacher-grid, .children-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .message {
        max-width: 85%;
    }
    
    .chat-container {
        max-height: 600px;
        min-height: 400px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .table {
        font-size: 0.9rem;
    }
    
    .content-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .page-header {
        padding: 0.75rem 0;
        margin-bottom: 1rem;
    }
    
    .yegem-badge {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 24px;
        margin-right: 10px;
    }
    
    .page-title {
        font-size: 1.25rem;
    }
}

@media (max-width: 576px) {
    .landing-content h1 {
        font-size: 2rem;
    }
    
    .auth-card {
        padding: 1.5rem 1rem;
    }
    
    .dashboard-tabs {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .tab {
        width: 100%;
        text-align: center;
        border-radius: 10px;
    }
    
    .stats-grid {
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dashboard-main, .auth-card, .role-card {
    animation: slideIn 0.5s ease-out;
}

/* h-Captcha Ortalama */
.h-captcha {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1rem 0;
}

.h-captcha > div {
    margin: 0 auto;
}

/* Scrollbar Styling */
.chat-messages::-webkit-scrollbar {
    width: 8px;
}

.chat-messages::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: var(--primary-green);
    border-radius: 10px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background: var(--dark-green);
}

/* Toast Notifications */
.toast-container {
    z-index: 9999;
}

.toast {
    min-width: 300px;
}

/* Loading Spinner */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

/* Form Validation */
.was-validated .form-control:invalid,
.was-validated .form-select:invalid {
    border-color: #dc3545;
}

.was-validated .form-control:valid,
.was-validated .form-select:valid {
    border-color: #28a745;
}

/* Image Preview */
.img-preview {
    max-width: 200px;
    max-height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-top: 1rem;
}

/* Empty States */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-light);
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* Smooth Transitions */
* {
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

/* Focus States */
.form-control:focus,
.form-select:focus,
.btn:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(45, 134, 89, 0.25);
}

/* Print Styles */
@media print {
    .navbar,
    .dashboard-sidebar,
    .chat-form,
    .btn,
    .dashboard-tabs {
        display: none !important;
    }
    
    .dashboard-main {
        width: 100% !important;
    }
}

/* Navbar Avatar */
.user-avatar-nav {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.user-avatar-nav:hover {
    border-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

/* Profil Fotoğrafı Yükleme */
.profile-photo-wrapper {
    position: relative;
    display: inline-block;
}

.photo-upload-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: var(--primary-green);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    border: 2px solid white;
    z-index: 10;
}

.photo-upload-btn:hover {
    background: var(--dark-green);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.profile-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-green);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Page Header */
.page-header {
    padding: 1rem 0;
    border-bottom: 2px solid #e9ecef;
    margin-bottom: 1.5rem;
}

.yegem-badge {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 12px;
    text-align: center;
    line-height: 50px;
    font-size: 28px;
    font-weight: 700;
    margin-right: 15px;
    box-shadow: 0 4px 12px rgba(45, 134, 89, 0.3);
    transition: transform 0.3s ease;
}

.yegem-badge:hover {
    transform: scale(1.1) rotate(5deg);
}

.page-title {
    font-size: 1.5rem;
    color: var(--text-dark);
    font-weight: 600;
}

/* Message Image/Video Styles */
.message-image {
    max-width: 300px;
    max-height: 300px;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.message-image:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.message-video {
    max-width: 400px;
    max-height: 300px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* ============================================
   ADMIN PANEL STYLES
   ============================================ */

.admin-page {
    background: #f8f9fa;
    min-height: 100vh;
    padding-bottom: 2rem;
}

.admin-dashboard .stat-card {
    transition: transform 0.2s, box-shadow 0.2s;
    border-left: 4px solid transparent;
    height: 100%;
}

.admin-dashboard .stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15) !important;
}

.admin-dashboard .stat-card:nth-child(1) { border-left-color: #198754; }
.admin-dashboard .stat-card:nth-child(2) { border-left-color: #0dcaf0; }
.admin-dashboard .stat-card:nth-child(3) { border-left-color: #ffc107; }
.admin-dashboard .stat-card:nth-child(4) { border-left-color: #0d6efd; }

.admin-dashboard .stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.admin-page .card {
    border-radius: 12px;
    overflow: hidden;
}

.admin-page .card-header {
    font-weight: 600;
    border-bottom: 2px solid rgba(0,0,0,0.1);
}

.admin-page .table {
    font-size: 0.9rem;
}

.admin-page .table th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    color: #6c757d;
    border-bottom: 2px solid #dee2e6;
}

.admin-page .table tbody tr {
    transition: background-color 0.2s;
}

.admin-page .table tbody tr:hover {
    background-color: #f8f9fa;
}

.admin-page .user-avatar {
    font-size: 18px;
    flex-shrink: 0;
}

.admin-page .badge {
    font-weight: 500;
    padding: 0.35em 0.65em;
}

.admin-page .btn-group-sm .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

.admin-page .list-group-item {
    border-left: none;
    border-right: none;
    transition: background-color 0.2s;
}

.admin-page .list-group-item:hover {
    background-color: #f8f9fa;
}

.admin-page .list-group-item-action:hover {
    background-color: #e9ecef;
}

.admin-page .message-body {
    max-height: 200px;
    overflow-y: auto;
    word-wrap: break-word;
}

.admin-page .message-item {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(10px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.admin-page .message-content {
    word-wrap: break-word;
    line-height: 1.6;
}

.admin-page .message-avatar {
    flex-shrink: 0;
}

.admin-page .progress {
    border-radius: 10px;
    overflow: hidden;
}

.admin-page .progress-bar {
    transition: width 0.6s ease;
}

/* Responsive Admin Styles */
@media (max-width: 768px) {
    .admin-page .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .admin-page .btn-group {
        flex-direction: column;
    }
    
    .admin-page .btn-group .btn {
        border-radius: 0.375rem !important;
        margin-bottom: 0.25rem;
    }
    
    .admin-page .table-responsive {
        font-size: 0.85rem;
    }
    
    .admin-page .stat-card {
        margin-bottom: 1rem;
    }
}

/* Banner Section */
.banner-section {
    width: 100%;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.banner-container {
    width: 100%;
    position: relative;
    height: auto;
    max-height: 500px;
    overflow: hidden;
}

.banner-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    max-height: 500px;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.05) 100%);
    pointer-events: none;
}

@media (max-width: 768px) {
    .banner-container {
        max-height: 300px;
    }
    
    .banner-image {
        max-height: 300px;
    }
}
