* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #0f172a;
    color: #f8fafc;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #1e293b;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #38bdf8;
}

nav {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-outline {
    color: #f8fafc;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid #334155;
    border-radius: 6px;
    transition: all 0.3s;
}

.btn-outline:hover {
    border-color: #38bdf8;
    color: #38bdf8;
}

.btn-primary {
    background-color: #38bdf8;
    color: #0f172a;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-primary:hover {
    background-color: #0ea5e9;
}

.hero {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    color: #94a3b8;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Panel Alanları */
.dashboard-hidden {
    display: none; /* Başlangıçta gizli, giriş yapılınca açılacak */
}

.module-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.tab-btn {
    background: #1e293b;
    border: none;
    color: #f8fafc;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
}

.tab-btn.active, .tab-btn:hover {
    background: #38bdf8;
    color: #0f172a;
    font-weight: bold;
}

.module-box {
    background: #1e293b;
    padding: 2rem;
    border-radius: 12px;
    min-height: 200px;
    text-align: left;
    border: 1px solid #334155;
}

footer {
    text-align: center;
    padding: 1.5rem;
    color: #64748b;
    border-top: 1px solid #1e293b;
}
/* Modal Arka Plan Karartması */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.8);
    display: none; /* Normalde gizli */
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Modal Kutusu */
.modal-content {
    background: #1e293b;
    padding: 2.5rem;
    border-radius: 12px;
    width: 100%;
    max-width: 400px;
    border: 1px solid #334155;
    position: relative;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

.modal-content h2 {
    margin-bottom: 1.5rem;
    color: #f8fafc;
    text-align: center;
}

/* Form Elemanları */
.form-group {
    margin-bottom: 1.2rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #94a3b8;
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border-radius: 6px;
    border: 1px solid #334155;
    background: #0f172a;
    color: #f8fafc;
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    border-color: #38bdf8;
}

.full-width {
    width: 100%;
    margin-top: 0.5rem;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

/* Kapatma Çarpısı */
.close-btn {
    position: absolute;
    top: 1rem;
    right: 1.2rem;
    font-size: 1.5rem;
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.2s;
}

.close-btn:hover {
    color: #f8fafc;
}

.error-text {
    color: #f87171;
    font-size: 0.85rem;
    text-align: center;
    margin-top: 1rem;
}
