/* Genel Stil */
:root {
    --bg-primary: #1a1a2e;
    --bg-secondary: #272740;
    --text-color: #e0e0e0;
    --accent-color: #8c7ae6;
    --accent-light: #c0aeff;
    --card-bg: rgba(255, 255, 255, 0.05);
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-color: rgba(0, 0, 0, 0.3);
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-primary);
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    margin-top: 0;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    text-align: center;
    background: linear-gradient(45deg, var(--accent-color), var(--accent-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
}

.main-content {
    flex-grow: 1;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Navbar */
.main-nav {
    background: var(--bg-secondary);
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 10px var(--shadow-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.nav-brand .brand-logo {
    height: 40px; /* Daha küçük ve zarif */
    margin-right: 10px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.nav-brand a {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.nav-brand a:hover {
    color: var(--accent-light);
}

.btn-logout {
    background: var(--accent-color);
    color: #fff;
    border: none;
    padding: 8px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-logout:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

/* Bottom Mobile Nav */
.bottom-mobile-nav {
    display: none; /* Varsayılan olarak gizli, mobil boyutlarda gösterilecek */
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -2px 10px var(--shadow-color);
    z-index: 1000;
    justify-content: space-around;
    padding: 10px 0;
}

@media (max-width: 768px) {
    .bottom-mobile-nav {
        display: flex; /* Mobil cihazlarda göster */
    }
    .main-nav .nav-container {
        justify-content: center; /* Logoyu ortala */
    }
    .main-nav .btn-logout {
        display: none; /* Mobil nav'da olacak */
    }
}

.bottom-mobile-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 1.1rem;
    padding: 5px 10px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.bottom-mobile-nav .nav-item span {
    font-size: 0.75rem;
    margin-top: 5px;
    font-family: 'Poppins', sans-serif;
}

.bottom-mobile-nav .nav-item.active,
.bottom-mobile-nav .nav-item:hover {
    color: var(--accent-light);
    transform: translateY(-3px);
}

/* Ortak Kart Stilleri */
.card-new {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--shadow-color);
    padding: 20px;
    transition: all 0.3s ease;
    color: var(--text-color);
}

.card-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Ortak Buton Stilleri (Sade) */
.btn-new {
    background: var(--accent-color);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-new:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

.btn-new.outline {
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
}

.btn-new.outline:hover {
    background: var(--accent-color);
    color: #fff;
    border-color: var(--accent-color);
}

/* Genel Form Stilleri */
.form-group-new {
    margin-bottom: 1.5rem;
}

.form-label-new {
    display: block;
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.form-control-new {
    width: 100%;
    padding: 10px 15px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control-new:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(140, 122, 230, 0.3);
}

.form-control-new::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* Alert Styles */
.alert-new {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

.alert-new.error {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
    border: 1px solid #dc3545;
}

.alert-new.info {
    background: rgba(0, 123, 255, 0.2);
    color: #007bff;
    border: 1px solid #007bff;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-light);
}
