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 #258cfb;
}

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;
}
/* ============================================
   NAVBAR DASHBOARD BUTTONS STİLE
   ============================================ */

/* Admin Panel Buton Stili */
.navbar-nav .nav-link.text-danger {
    color: #dc2626 !important;
    font-weight: 600;
    padding: 8px 12px !important;
    border-radius: 6px;
    transition: all 0.3s ease;
    background: rgba(220, 38, 38, 0.1);
}

    .navbar-nav .nav-link.text-danger:hover {
        background: #dc2626 !important;
        color: white !important;
        transform: translateY(-2px);
    }

/* Yazar Panel Buton Stili */
.navbar-nav .nav-link.text-warning {
    color: #d97706 !important;
    font-weight: 600;
    padding: 8px 12px !important;
    border-radius: 6px;
    transition: all 0.3s ease;
    background: rgba(217, 119, 6, 0.1);
}

    .navbar-nav .nav-link.text-warning:hover {
        background: #d97706 !important;
        color: white !important;
        transform: translateY(-2px);
    }

/* Kullanıcı Panel Buton Stili */
.navbar-nav .nav-link.text-info {
    color: #0891b2 !important;
    font-weight: 600;
    padding: 8px 12px !important;
    border-radius: 6px;
    transition: all 0.3s ease;
    background: rgba(8, 145, 178, 0.1);
}

    .navbar-nav .nav-link.text-info:hover {
        background: #0891b2 !important;
        color: white !important;
        transform: translateY(-2px);
    }

/* ============================================
   PROFIL DROPDOWN STİLE
   ============================================ */

/* Profil Dropdown Butonu */
.dropdown-toggle {
    background: rgba(102, 126, 234, 0.15) !important;
    color: #2d3748 !important;
    border: 2px solid rgba(102, 126, 234, 0.3) !important;
    border-radius: 6px !important;
    padding: 8px 16px !important;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

    .dropdown-toggle:hover {
        background: rgba(102, 126, 234, 0.25) !important;
        border-color: rgba(102, 126, 234, 0.5) !important;
        color: #667eea !important;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
    }

    .dropdown-toggle::after {
        border-top-color: #667eea !important;
    }

    .dropdown-toggle:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2) !important;
        background: rgba(102, 126, 234, 0.25) !important;
    }

/* Dropdown Menu */
.dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    animation: slideDown 0.3s ease;
    margin-top: 8px;
}

    .dropdown-menu .dropdown-item {
        padding: 12px 20px;
        font-weight: 500;
        transition: all 0.2s ease;
        color: #4a5568;
        border-radius: 6px;
        margin: 4px 8px;
    }

        .dropdown-menu .dropdown-item:hover {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            transform: translateX(5px);
        }

        .dropdown-menu .dropdown-item:active {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
        }

.dropdown-divider {
    background: rgba(0, 0, 0, 0.08);
    margin: 8px 0;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   LOGIN/REGISTER BUTONLARI STİLE
   ============================================ */

.btn-outline-light {
    color: #667eea;
    border: 2px solid #667eea;
    transition: all 0.3s ease;
}

    .btn-outline-light:hover {
        background: #667eea;
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
    }

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    transition: all 0.3s ease;
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
    }

.btn-success {
    background: #48bb78;
    border: none;
    transition: all 0.3s ease;
}

    .btn-success:hover {
        background: #38a169;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(72, 187, 120, 0.3);
    }

/* ============================================
   NAVBAR RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .navbar-collapse {
        margin-top: 15px;
    }

    .navbar-nav {
        margin-bottom: 15px;
    }

    .nav-link {
        padding: 10px 0 !important;
    }

    .dropdown-toggle {
        width: 100%;
        justify-content: center;
    }

    .d-flex.gap-2 {
        width: 100%;
        flex-direction: column;
        margin-top: 15px;
    }

    .btn-outline-light,
    .btn-primary,
    .btn-success {
        width: 100%;
    }
}

/* ============================================
   NAVBAR GENEL STİLE
   ============================================ */

.navbar {
    background: white !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.navbar-brand {
    font-weight: 700;
    color: #667eea !important;
    font-size: 1.2rem;
}

    .navbar-brand:hover {
        color: #764ba2 !important;
    }

.nav-link {
    color: #4a5568 !important;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

    .nav-link:hover {
        color: #667eea !important;
    }

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        transition: width 0.3s ease;
    }

    .nav-link:hover::after {
        width: 100%;
    }

/* ============================================
   FOOTER STİLE
   ============================================ */

.footer {
    background: #f8f9fa;
    padding: 20px 0;
    margin-top: 40px;
    color: #718096;
}

    .footer a {
        color: #667eea;
        text-decoration: none;
    }

        .footer a:hover {
            color: #764ba2;
            text-decoration: underline;
        }

