@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
    --poli-red: #e30613;
    --poli-blue: #1e2a78;
    /* Deep Blue from reference */
    --poli-dark: #0a0e29;
    /* Darker blue/black */
    --poli-gray: #f4f6f9;
    --text-dark: #2c3e50;
    --text-light: #ffffff;
    --font-primary: 'Jost', sans-serif;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    background-color: var(--poli-gray);
    line-height: 1.6;
}

/* --- Top Info Bar (White) --- */
.top-header {
    background-color: #ffffff;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.brand-logo-text {
    font-size: 28px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--poli-blue);
    letter-spacing: -0.5px;
    text-decoration: none;
}

.brand-logo-text span {
    color: var(--poli-red);
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #555;
    border-right: 1px solid #ddd;
    padding-right: 20px;
    margin-right: 20px;
}

.contact-info-item:last-child {
    border-right: none;
    padding-right: 0;
    margin-right: 0;
}

.contact-info-item i {
    color: var(--poli-red);
    font-size: 18px;
}

/* --- Main Navbar (Dark Blue) --- */
.main-navbar {
    background-color: var(--poli-blue);
    padding: 0;
    box-shadow: 0 4px 15px rgba(30, 42, 120, 0.2);
}

.main-navbar .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    font-size: 15px;
    padding: 18px 20px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s;
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-giri {
    background-color: var(--poli-red);
    color: white !important;
    padding: 10px 25px !important;
    border-radius: 4px;
    font-weight: 600;
    margin-left: 15px;
    text-transform: uppercase;
    transition: background 0.3s;
}

.btn-giri:hover {
    background-color: #c00000;
    transform: translateY(-1px);
}

/* --- Cards & Dashboard --- */
.card {
    border: none;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.card-header {
    background-color: #fff;
    border-bottom: 2px solid #f0f0f0;
    font-weight: 700;
    color: var(--poli-blue);
    padding: 15px 20px;
}

/* Modüle göre kart üst çizgileri */
.border-start-primary {
    border-left-color: var(--poli-blue) !important;
}

.border-start-danger {
    border-left-color: var(--poli-red) !important;
}

/* --- Buttons --- */
.btn-primary {
    background-color: var(--poli-blue);
    border-color: var(--poli-blue);
}

.btn-primary:hover {
    background-color: var(--poli-dark);
    border-color: var(--poli-dark);
}

.btn-danger {
    background-color: var(--poli-red);
    border-color: var(--poli-red);
}

/* --- Login Page Refinement --- */
/* --- Modern Split Login Layout --- */
.login-container {
    min-height: 100vh;
    display: flex;
    font-family: 'Jost', sans-serif;
    overflow: hidden;
}

/* Sol Taraf: Branding (Koyu) */
.login-brand-side {
    flex: 1;
    background-color: #0b0f19;
    /* Çok koyu lacivert/siyah */
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem;
    position: relative;
    overflow: hidden;
}

/* Dekoratif Arka Plan Efekti */
.login-brand-side::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -20%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(30, 42, 120, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

.brand-content {
    position: relative;
    z-index: 2;
    max-width: 500px;
}

.brand-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.brand-content h1 span {
    color: var(--poli-red);
}

.brand-feature-list {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
}

.brand-feature-list li {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    opacity: 0.8;
}

.brand-feature-list li i {
    margin-right: 15px;
    color: var(--poli-red);
}

/* Sağ Taraf: Form (Beyaz) */
.login-form-side {
    flex: 1;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.login-form-wrapper {
    width: 100%;
    max-width: 450px;
    padding: 2rem;
}

.login-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.form-floating label {
    color: #999;
}

.form-floating>.form-control:focus~label,
.form-floating>.form-control:not(:placeholder-shown)~label {
    color: var(--poli-red);
}

.form-control:focus {
    border-color: var(--poli-red);
    box-shadow: 0 0 0 0.25rem rgba(227, 6, 19, 0.1);
}

.btn-login-new {
    background: linear-gradient(90deg, var(--poli-red) 0%, #ff4b55 100%);
    color: white;
    border: none;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    width: 100%;
    transition: transform 0.2s;
    margin-top: 1rem;
}

.btn-login-new:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(227, 6, 19, 0.3);
    color: white;
}

/* Mobil Uyumluluk */
@media (max-width: 992px) {
    .login-brand-side {
        display: none;
        /* Mobilde sol tarafı gizle */
    }
}