/* ==========================================================================
   GAYRİMENKUL EVİ - PREMIUM VANILLA CSS (ofisim.css)
   Modern, temiz, Glassmorphism destekli ve koyu/açık mod uyumlu değişkenler.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700&display=swap');

:root {
    /* ANA RENKLER */
    --bg-body: #F4F7FB;
    --bg-surface: #FFFFFF;
    --bg-surface-hover: #F8FAFC;
    --bg-surface-glass: rgba(255, 255, 255, 0.85);

    /* HEADER */
    --header-bg: #1E3A5F;
    --header-text: #FFFFFF;

    /* YAZILAR */
    --text-main: #1E293B;
    --text-secondary: #64748B;
    --text-muted: #94A3B8;

    /* BORDER */
    --border-color: #E2E8F0;
    --border-hover: #CBD5E1;

    /* MARKA RENKLERİ */
    --primary: #2563EB;
    --primary-hover: #1D4ED8;
    --primary-light: #DBEAFE;

    /* PREMIUM ALTIN */
    --gold: #D4A857;
    --gold-hover: #C9973E;

    /* DURUM RENKLERİ */
    --success: #10B981;
    --success-hover: #059669;
    --warning: #F59E0B;
    --warning-hover: #D97706;
    --danger: #EF4444;
    --danger-hover: #DC2626;
    --info: #3B82F6;
    --info-hover: #2563EB;
    --purple: #8B5CF6;

    /* GÖLGELER */
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.12);

    /* YUVARLAMALAR */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;

    /* KARTLAR */
    --card-bg: #FFFFFF;
    --card-hover: #F8FAFC;

    /* Tipografi */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-display: 'Outfit', 'Inter', sans-serif;
    --transition-fast: 0.15s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
}



/* =========================================
      RESET & BASE
      ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-light);
}

button,
input,
select,
textarea {
    font-family: inherit;
}

/* =========================================
      UTILITIES & LAYOUT
      ========================================= */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.flex-col {
    flex-direction: column;
}

/* =========================================
      AUTH (LOGIN) PAGE SPECIFIC
      ========================================= */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top right, var(--primary-light), var(--bg-body) 60%);
    padding: 2rem;
}

.auth-card {
    background-color: var(--bg-surface-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 440px;
    padding: 2.5rem;
    transition: transform var(--transition-normal);
}

.auth-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.auth-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo h1 {
    font-size: 1.75rem;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.auth-logo p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 0.25rem;
}

/* =========================================
      FORMS
      ========================================= */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: var(--text-main);
    background-color: var(--bg-body);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    outline: none;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
    background-color: var(--bg-surface);
}

.form-error {
    color: var(--danger);
    font-size: 0.85rem;
    margin-top: 0.4rem;
    display: block;
}

/* Checkbox */
.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-wrapper input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    accent-color: var(--primary);
    cursor: pointer;
}

.checkbox-wrapper label {
    font-size: 0.9rem;
    color: var(--text-muted);
    cursor: pointer;
}

/* =========================================
      BUTTONS
      ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    width: 100%;
}

.btn-primary {
    background-color: var(--primary);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

/* =========================================
      NAVBAR / HEADER (For Dashboards)
      ========================================= */
.app-header {
    background-color: var(--header-bg);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 50;
    height: 4rem;
    display: flex;
    align-items: center;
}

.app-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--header-text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand span {
    color: var(--primary);
}

/* =========================================
      DASHBOARD MAIN LAYOUT
      ========================================= */
.app-main {
    padding: 2rem 0;
    flex: 1;
}

.page-header {
    margin-bottom: 2rem;
}

.page-title {
    font-size: 1.875rem;
    letter-spacing: -0.025em;
}

.card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}