:root {
    --ana-renk: #D4145A;
    --ikincil-renk: #491d6e;
    --arka-plan-koyu: #2D1B4E;

    /* Gradients from 1.html */
    --brand-gradyan: radial-gradient(circle at 0% 20%, #d21a52, transparent), radial-gradient(circle at 100% 60%, #3b1f70, #3b1f70);
    --brand-gradyan-acik: linear-gradient(135deg, #fce4ec 0%, #ede7f6 100%);

    /* Card Backgrounds from 1.html */
    --card-bg-1: rgba(92, 46, 96, 0.8);
    --card-bg-2: rgba(114, 54, 104, 0.8);
    --card-bg-3: rgba(90, 58, 105, 0.8);
    --card-bg-4: rgba(82, 45, 109, 0.8);
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    min-height: 100vh;
    margin: 0;
    transition: background 0.3s ease;
}

body.dark {
    background: var(--brand-gradyan);
    color: white;
}

body:not(.dark) {
    background: var(--brand-gradyan-acik);
    color: #333;
}

/* Glassmorphism Panel */
.glass-panel {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    box-shadow: 0 5px 5px 0 rgba(0, 0, 0, 0.2);
}

.dark .glass-panel {
    background: rgba(255, 255, 255, 0.08);
}

/* Typography */
.font-display {
    font-family: 'Inter', sans-serif;
}

h1,
h2,
h3,
h4,
.font-bold {
    font-weight: 700;
}

.uppercase-tracking {
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

/* Custom Buttons / Cards */
.ana-kart {
    
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, 0.08);
	border-radius: 18px;
	padding: 25px 10px;
	text-align: center;
	cursor: pointer;
	transition: 0.3s;
}

.ana-kart:hover {
    transform: scale(1);
    background: rgba(255, 255, 255, 0.15) !important;
}

.hover-scale {
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hover-scale:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.15) !important;
}

.dark .ana-kart {
    background: var(--card-bg-1);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--ana-renk);
}

/* Specific Utilities */
.text-primary-brand {
    color: var(--ana-renk);
}

.bg-primary-brand {
    background-color: var(--ana-renk);
}

.drop-shadow-lg {
    filter: drop-shadow(0 10px 8px rgba(0, 0, 0, 0.1)) drop-shadow(0 4px 3px rgba(0, 0, 0, 0.1));
}

/* Header Styles */
.site-logo-y {
    font-size: 4rem;
    line-height: 1;
    transform: rotate(-12deg);
    display: inline-block;
    font-weight: 800;
}

.vertical-divider {
    height: 40px;
    width: 1px;
    background: rgba(255, 255, 255, 0.3);
    margin: 0 1rem;
}

header a {
    text-decoration: none;
    color: inherit;
}

header a:hover h1 {
    color: var(--ana-renk) !important;
}

/* Navbar resets for Bootstrap */
.navbar {
    padding: 2rem 0;
    margin-bottom: 2rem;
}

/* Layout Fixes */
.max-w-1920 {
    max-width: 1920px;
    width: 100%;
    /*min-height: calc(100vh - 50px);*/
    /*display: flex;*/
    /*flex-direction: column;*/
}

.min-vh-100 {
    min-height: 100vh !important;
}

/* Ensure flex columns can grow and contain scrollable areas */
body.container-fluid {
    height: 100vh;
    overflow: hidden;
    display: flex;
	justify-content: center;
	align-items: center;
}

main.container-fluid {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    /* Important for flex child scrolling */
}

.logo {
    width: 100%;
}

.bg-opacity-20 {
    --bs-bg-opacity: 0.2;
}

.bg-opacity-30 {
    --bs-bg-opacity: 0.3;
}

.bg-opacity-40 {
    --bs-bg-opacity: 0.4;
}

.bg-opacity-50 {
    --bs-bg-opacity: 0.5;
}

.bg-opacity-60 {
    --bs-bg-opacity: 0.6;
}

.bg-opacity-70 {
    --bs-bg-opacity: 0.7;
}

.bg-opacity-80 {
    --bs-bg-opacity: 0.8;
}

.home .material-icons-round {
    font-size: 70px;
}

/* Tüm Sayfalar İçin Tablo Stilleri */
table thead,
.table thead {
    background-color: rgb(63, 42, 96) !important;
}

.table-dark {
    --bs-table-bg: transparent !important;
}

/* Hücrelerin şeffaf olması */
.table tbody td {
    background-color: transparent !important;
}

/* Tablo Satırı Üzerine Gelindiğinde Hafif Vurgu */
.table-hover>tbody>tr:hover>* {
    background-color: rgba(255, 255, 255, 0.05) !important;
    --bs-table-accent-bg: transparent !important;
}

.maxh-100{
    max-height: calc(100vh - 180px);
	overflow-y: auto;
}

.modal.show {
    display: flex !important;
    align-items: center;
}

.nospinner::-webkit-outer-spin-button,
.nospinner::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.nospinner {
    -moz-appearance: textfield; /* Firefox */
}