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;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Arial, sans-serif;
}

.main-layout {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 260px;
    background: #fff;
    box-shadow: 2px 0 8px #eee;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 16px;
}

.logo {
    display: flex;
    align-items: center;
    margin-bottom: 32px;
}

.logo-text {
    font-size: 2rem;
    font-weight: bold;
    margin-left: 8px;
}

.menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 24px;
    padding: 24px 16px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 2px 2px 6px #eee;
    text-decoration: none;
    color: #222;
    width: 180px;
    transition: box-shadow 0.2s;
    cursor: pointer;
}

    .menu-item:hover {
        box-shadow: 2px 4px 12px #ccc;
    }

    .menu-item .menu-icon {
        height: 48px;
        margin-bottom: 8px;
    }

.content-area {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    background: #fff;
    box-shadow: 0 2px 8px #eee;
    padding: 0 32px;
}

.search-bar {
    flex: 1;
    display: flex;
    justify-content: center;
}

    .search-bar input {
        width: 350px;
        height: 36px;
        border-radius: 18px;
        border: none;
        background: #ddd;
        padding: 0 16px;
        font-size: 1rem;
    }

.topbar-icons {
    display: flex;
    align-items: center;
    gap: 16px;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-block;
}

.user-name {
    font-weight: 500;
}

main {
    flex: 1;
    padding: 32px;
    background: #fafafa;
}
.icon-btn, .avatar-btn {
    background: none;
    border: none;
    padding: 0;
    margin: 0 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    box-shadow: none;
    outline: none;
}

    .icon-btn:focus, .avatar-btn:focus {
        outline: none;
        box-shadow: none;
    }

.topbar-icons a.btn-link {
    color: #fff;
    margin-left: 15px;
    text-decoration: none;
}

    .topbar-icons a.btn-link:hover {
        text-decoration: underline;
        color: #ccc;
    }

.divider-text:before,
.divider-text:after {
    color: white;
    content: "";
    flex: 1;
    border-bottom: 1px solid #555;
    margin: auto 0.25rem;
    box-shadow: 0 -2px;
}

/* Başlık ve butonlar */
.text-primary, .table thead th, h2, h1, h3, h4, h5, h6 {
    color: #46250A !important; /* Kahverengi */
}

.btn-success, .btn-success:focus, .btn-success:active {
    background-color: #4caf50 !important;
    border-color: #4caf50 !important;
    color: #fff !important;
}

.btn-success:hover {
    background-color: #388e3c !important;
    border-color: #388e3c !important;
}

.btn-soil, .btn-soil:focus, .btn-soil:active {
    background-color: #46250A !important;
    border-color: #46250A !important;
    color: #fff !important;
}

.btn-soil:hover {
    background-color: #2e1706 !important;
    border-color: #2e1706 !important;
}

/* Tablo başlıkları ve satırları */
.table thead th {
    background-color: rgba(70, 37, 10, 0.08); /* Transparan kahverengi */
    color: #46250A;
    font-weight: 600;
}

.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: rgba(76, 175, 80, 0.06); /* Transparan yeşil */
}

.table-bordered > :not(caption) > * > * {
    border-color: #46250A33; /* Hafif kahverengi kenarlık */
}

/* Arama kutusu ve placeholder */
#searchBox, .form-control {
    border: 1px solid #46250A33;
    background-color: rgba(70, 37, 10, 0.03);
}

#searchBox::placeholder, .form-control::placeholder {
    color: #46250A99;
    opacity: 1;
}

/* Menü ve sidebar */
.sidebar, .sidebar .nav-link.active, .sidebar .nav-link:focus {
    background-color: rgba(70, 37, 10, 0.04) !important;
    color: #46250A !important;
    border-color: #46250A22 !important;
}

.sidebar .nav-link:hover {
    background-color: rgba(76, 175, 80, 0.10) !important;
    color: #388e3c !important;
}

/* Edit ve Delete butonları */
.btn-outline-primary {
    border-color: #4caf50 !important;
    color: #4caf50 !important;
    background: transparent !important;
}

.btn-outline-primary:hover {
    background-color: #4caf50 !important;
    color: #fff !important;
}

.btn-outline-danger {
    border-color: #46250A !important;
    color: #46250A !important;
    background: transparent !important;
}

.btn-outline-danger:hover {
    background-color: #46250A !important;
    color: #fff !important;
}

