﻿* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body, html {
    height: 100%;
    /*font-family: 'Lexend', sans-serif !important;*/
    font-weight: normal;
    font-size: 18px!important;
    line-height: 2
}

.form-label {
    margin-bottom: 0 !important;
    font-size: 14px !important;
    color: orangered !important;
}

.form-control {
    line-height: 2 !important;
}

.card-header {
    padding: 15px 15px;
    background-color: #f9f9f9;
}

h2 {
    font-size: 24px !important;
    font-weight: bold
}

input:focus {
    border: 1px solid gray !important;
}

.layout {
    display: flex;
    height: 100vh;
    flex-direction: column;
}

.topbar {
    height: 80px;
    background: #00273a;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

    .topbar .logo {
        font-size: 28px;
        font-weight: bold;
        align-items: center;
    }

        .topbar .logo img {
            margin-right: 10px;
        }

    .topbar .user {
        position: relative;
        cursor: pointer;
    }

.topbar-menu {
    background-color:whitesmoke;
    border-radius:5px;
    cursor:pointer;
    width:40px;
    height:40px;
    text-align:center;
    align-content:center;
}

.user-menu {
    position: absolute;
    right: 0;
    top: 60px;
    width:250px;
    background: white;
    color: black;
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    /*display: none;*/
    z-index:9999;
    text-align:start;
    padding:20px;
}

.user-menu-title{
    /*padding:10px;*/
    font-size:18px;
    font-weight:bold;
    color:darkblue;
    border-bottom:1px solid silver;
    margin-bottom:5px;
}

.user-menu a {
    display: block;
    /*padding: 10px;*/
    text-decoration: none;
    color: black;
}

        .user-menu a:hover {
            background-color: #f2f2f2;
        }

.main {
    display: flex;
    flex: 1;
    overflow: hidden;
}

.sidebar {
    width: 300px;
    background: #00273a;
    padding: 20px;
    color: white;
}

    .sidebar a {
        display: block;
        margin: 10px 0;
        color: #dddddd;
        text-decoration: none;
        font-weight: 500;
        font-size: 16px
    }

        .sidebar a:hover {
            text-decoration: underline;
        }

.content {
    flex: 1;
    overflow: auto;
    padding: 20px;
    background: #e6ebee;
}

.footer {
    height: 40px;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #333;
}


.admin-content-header {
    padding-bottom: 10px;
    border-bottom: 1px solid silver;
    margin-bottom: 25px;
}

.admin-content {
    padding: 0px;
    /*flex: 1;*/
    /*overflow: auto;*/
    /*padding: 20px;*/
    background: #f5f7fa;
}

.sidebar-nav {
    padding: 0px 15px;
}

    .sidebar-nav li {
        cursor: pointer;
    }

    .sidebar-nav svg {
        margin-right: 14px;
    }

    .sidebar-nav .li-title {
        font-size: 16px;
    }


.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: red;
    display: flex;
    justify-content: center; /* Yatay ortalama */
    align-items: center; /* Dikey ortalama */
}

.content-box {
    gap: 10px;
    display: flex;
}

    .content-box p {
        margin: 0;
    }


.nav-submenu {
    background-color: #234b5e;
    transition: all .2s ease-in-out;
    position: relative;
    z-index: 1;
    padding: 0.5rem 40px;
}

.spinner {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.badge{
    border:1px solid silver;
    border-radius:5px;
    padding:3px 12px;
    color:darkblue;
    font-size:12px;
}

    .badge.badge-info {
        border: 1px solid darkturquoise;
        border-radius: 5px;
        padding: 3px 12px;
        color: white;
        font-size: 12px;
        background-color: darkturquoise;
    }


    .modal{
        justify-items:center;
    }
.modal-fullscreen{
    max-width:90%;
    max-height:90%;
}