html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #e75480; /* pembe focus */
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* Modern MoneyTracker CSS Tasarımı */

/* Ana Renk Paleti */
:root {
    --primary-color: #d81b60; /* koyu pembe */
    --primary-light: #f48fb1; /* açık pembe */
    --secondary-color: #ec407a; /* orta pembe */
    --success-color: #10b981; /* değişmedi, gelir için yeşil güzel */
    --warning-color: #f59e0b; /* değişmedi */
    --danger-color: #ef4444; /* kırmızı kalabilir */
    --light-bg: #fff0f6; /* açık pembe arka plan */
    --card-bg: #ffffff; /* beyaz kart */
    --text-primary: #5a0030; /* koyu pembe/mor ton */
    --text-secondary: #a52a62; /* orta koyu pembe */
    --border-color: #f8bbd0; /* açık pembe sınır */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --gradient-primary: linear-gradient(135deg, #f48fb1 0%, #d81b60 100%);
    --gradient-success: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%);
    --gradient-card: linear-gradient(145deg, #ffffff 0%, #fff0f6 100%);
}

/* Navbar Tasarımı */
.custom-navbar-color {
    background: linear-gradient(135deg, #fff0f6 0%, #f8bbd0 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color) !important;
    text-shadow: 0 2px 4px rgba(216, 27, 96, 0.1);
}

    .navbar-brand:hover {
        color: var(--primary-light) !important;
        transform: translateY(-1px);
        transition: all 0.3s ease;
    }

.nav-link {
    color: var(--text-primary) !important;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}

    .nav-link:hover {
        color: var(--primary-color) !important;
        transform: translateY(-1px);
    }

    .nav-link::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: -5px;
        left: 50%;
        background: var(--gradient-primary);
        transition: all 0.3s ease;
        transform: translateX(-50%);
    }

    .nav-link:hover::after {
        width: 80%;
    }

/* Footer Tasarımı */
.footer-custom {
    background: linear-gradient(135deg, #fff0f6 0%, #f8bbd0 100%);
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

/* Dashboard Ana Container */
.dashboard-container {
    background: var(--light-bg);
    min-height: 80vh;
    padding: 2rem 0;
}

/* Hoşgeldin Kartı */
.welcome-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Kullanıcı Adı Styling */
.welcome-title {
    color: var(--text-primary);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.user-name {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.balance-card {
    background-color: #d81b60; /* koyu pembe */
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(216, 27, 96, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.balance-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.balance-amount {
    color: white;
    font-size: 2.5rem;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    letter-spacing: -1px;
}

/* Aksiyon Kartları */
.action-cards {
    gap: 1.5rem;
}

.action-card {
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none !important;
}

/* Gelir-Gider Kartı */
.action-card-primary {
    background: var(--gradient-primary);
    color: white !important;
    border: none;
}

    .action-card-primary:hover {
        color: white !important;
    }

/* Hesap Hareketleri Kartı */
.action-card-secondary {
    background: var(--card-bg);
    color: var(--primary-color) !important;
    border: 2px solid var(--primary-color);
}

/* İkonlar */
.action-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
    transition: all 0.3s ease;
}

.action-card:hover .action-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Kart İçerik */
.action-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 2rem;
    text-align: center;
}

.action-title {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.3;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .welcome-title {
        font-size: 1.5rem;
    }

    .balance-amount {
        font-size: 2rem;
    }

    .action-cards {
        flex-direction: column;
    }

    .action-card {
        width: 100% !important;
        height: 120px !important;
    }

    .action-content {
        flex-direction: row;
        text-align: left;
        padding: 1.5rem;
    }

    .action-icon {
        font-size: 2rem;
        margin-bottom: 0;
        margin-right: 1rem;
    }
}

/* Animasyonlar */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Buton Stilleri */
.btn-logout {
    background: linear-gradient(135deg, #d81b60 0%, #c2185b 100%);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

    .btn-logout:hover {
        transform: translateY(-1px);
        box-shadow: var(--shadow-md);
        color: white;
    }

/* Genel Utility Classes */
.text-gradient-primary {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-glass {
    background: rgba(255, 240, 246, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 182, 193, 0.2);
}
