/*
    DEMO STYLE - DARK & BLUE THEME
*/
body {
    background-color: #0b0c10 !important;
    color: #f1f1f1 !important;
}

.ibox {
    background: #15181e;
    width: 100%;
    min-height: 115px;
    color: #ffffff;
    padding: 15px 15px 0px 15px;
    border-radius: 10px;
    border: 1px solid #232733;
    text-align: center;
}
.ibox2 {
    background: linear-gradient(90deg, #1e3c72 0%, #2a5298 100%);
    width: 100%;
    height: 100%;
    border-radius: 12px;
    text-align: center;
    padding: 20px;
    align-items: center;
    box-shadow: 0 0px 10px rgba(30, 144, 255, 0.4);
}
.ibox i{
    font-size:42px;
    color:white;
}
.text-right{
    text-align:right;
}
.main-panel .index-announcement {
    float: left;
    width: 100%;
    border-radius: 10px;
    background: #15181e;
}
.main-panel .index-announcement .index-announcement-title {
    float: left;
    width: 100%;
    margin-top: 0;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1px;
    background: #15181e;
    padding: 20px 30px;
    border-radius: 10px 10px 0 0;
}
.main-panel .index-announcement .index-announcement-bell {
    float: left;
    width: 50%;
    padding-right: 43px;
    text-align: right;
    margin-top: -20px;
}
    
.main-panel .index-announcement .index-announcement-content {
    float: left;
    width: 100%;
    overflow-x: hidden;
    overflow-y: scroll;
    height: 470px;
    padding: 0 30px;
    background: #15181e;
    border-radius: 0 0 10px 10px;
}
.main-panel .index-announcement ul {
    float: left;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 0;
    border-left: 4px solid #1e74fd;
    padding-left: 30px;
}
.main-panel .index-announcement ul li {
    list-style: none;
    float: left;
    width: 100%;
    position: relative;
    margin-bottom: 45px;
    box-shadow: 1px 5px 19px 0 rgba(0, 0, 0, 0.5);
    background: #1b1e26;
    padding: 20px;
    border-radius: 0 0 6px 6px;
}
.main-panel .index-announcement ul li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 1px;
    background-image: linear-gradient(90deg, #1e74fd, #00d2ff);
}
.main-panel .index-announcement ul li .icon {
    position: absolute;
    left: -52px;
    top: 48px;
    width: 40px;
    height: 40px;
    padding: 7px 0;
    text-align: center;
    background: #232733;
    color: #1e74fd;
    font-size: 16px;
    border-radius: 3px;
    box-shadow: 1px 5px 19px 0 rgba(0,0,0,0.3);
}
.main-panel .index-announcement ul li .time {
    float: left;
    color: #8c909a;
    border-radius: 3px;
    margin-top: 8px;
}
.main-panel .index-announcement ul li .time i {
    margin-right: 5px;
}
.main-panel .index-announcement ul li .t-instagram {
    color: #1e74fd;
    border-color: #1e74fd;
}
.main-panel .index-announcement ul li .service {
    float: left;
    width: 100%;
    color: #f1f1f1;
    font-weight: 600;
    margin-top: 10px;
}
.main-panel .index-announcement ul li .desc {
    float: left;
    width: 100%;
    color: #9aa0a6;
    margin-top: 5px;
}
.main-panel .index-announcement ul li .title {
    float: right;
    color: #1e74fd;
    padding: 5px 10px;
    border: 1px solid #1e74fd;
    border-radius: 3px;
    width: 90px;
    text-align: center;
    position: relative;
}
.main-panel .index-announcement ul li .icon img {
    max-width: 60%;
}
.w .index-announcement-title {
    float: left;
    width: 100%;
    margin-top: 0px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
    background: #15181e;
    padding: 20px 30px;
    border-radius: 10px 10px 0 0;
    border-bottom: 1px solid #1e74fd;
}

#field-orderform-fields-check {
    width: 0 !important;
}

p {
    font-family: "Lato", sans-serif;
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.7em;
    color: #b0b3b8;
}

a,
a:hover,
a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

/* Üst Menü / Navbar (Mavi) */
.navbar {
    padding: 15px 10px;
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%) !important;
    background: linear-gradient(to right, #0052d4, #4364f7, #6fb1fc) !important;
    border: none;
    border-radius: 0;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 82, 212, 0.25);
}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
}

.line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #333;
    margin: 40px 0;
}

i,
span {
    display: inline-block;
}

/* ---------------------------------------------------
    SIDEBAR STYLE (Siyah & Mavi)
----------------------------------------------------- */

.wrapper {
    display: flex;
    align-items: stretch;
    background-color: #0b0c10;
}

#sidebar {
    left: 0;
    width: 210px;
    max-width: 250px;
    background: #11141a;
    transition: all 0.3s;
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.6);
}

#sidebar.active {
    max-width: 80px;
    text-align: center;
}

#sidebar.active .sidebar-header h3,
#sidebar.active .CTAs {
    display: none;
}

#sidebar.active .sidebar-header strong {
    display: block;
}

#sidebar ul li a {
    text-align: left;
    color: #cfd3dc;
    padding: 12px 15px;
    font-size: 1.05em;
    display: block;
}

#sidebar.active ul li a {
    padding: 15px 8px;
    text-align: center;
    font-size: 0.75em;
}

#sidebar.active ul li a i {
    margin-right: 0;
    display: block;
    font-size: 1.3em;
    margin-bottom: 5px;
}

#sidebar.active ul li a i .special-icon {
    width: 25px;
    height: 25px;
}

#sidebar.active ul ul a {
    padding: 10px !important;
}

#sidebar.active .dropdown-toggle::after {
    top: auto;
    bottom: 10px;
    right: 50%;
    -webkit-transform: translateX(50%);
    -ms-transform: translateX(50%);
    transform: translateX(50%);
}

#sidebar .sidebar-header {
    padding: 15px;
    background: #0c0e12;
}

#sidebar .sidebar-header strong {
    display: none;
    font-size: 1.8em;
}

#sidebar ul.components {
    padding: 15px 0;
}

#sidebar ul li a:hover {
    color: #ffffff !important;
    background: #181d26;
}

#sidebar ul li a i {
    margin-right: 10px;
}

/* Sol menü aktif buton (Mavi) */
#sidebar ul li.active > a,
a[aria-expanded="true"] {
    color: #fff !important;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    margin-right: 15px;
    background: linear-gradient(90deg, #1e74fd 0%, #0d52bf 100%) !important;
    box-shadow: 0 2px 10px rgba(30, 116, 253, 0.4);
}

a[data-toggle="collapse"] {
    position: relative;
}

#sidebar .dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
    background: #0f1217;
}

ul.CTAs {
    padding: 20px;
}

ul.CTAs a {
    text-align: center;
    font-size: 0.9em !important;
    display: block;
    border-radius: 5px;
    margin-bottom: 5px;
}

a.download {
    background: #15181e;
    color: #1e74fd;
}

a.article,
a.article:hover {
    background: #1e74fd !important;
    color: #fff !important;
}

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */

#content {
    width: 100%;
    min-height: 100vh;
    transition: all 0.3s;
    background-color: #0b0c10;
}

/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */

@media (max-width: 768px) {
    #sidebar {
        opacity: 0;
        min-width: 80px;
        max-width: 80px;
        text-align: center;
        margin-left: -80px !important;
    }
    .dropdown-toggle::after {
        top: auto;
        bottom: 10px;
        right: 50%;
        -webkit-transform: translateX(50%);
        -ms-transform: translateX(50%);
        transform: translateX(50%);
    }
    #sidebar.active {
        opacity: 1;
        margin-left: 0 !important;
    }
    #sidebar .sidebar-header h3,
    #sidebar .CTAs {
        display: none;
    }
    #sidebar .sidebar-header strong {
        display: block;
    }
    #sidebar ul li a {
        padding: 20px 10px;
    }
    #sidebar ul li a span {
        font-size: 0.85em;
    }
    #sidebar ul li a i {
        margin-right: 0;
        display: block;
    }
    #sidebar ul ul a {
        padding: 10px !important;
    }
    #sidebar ul li a i {
        font-size: 1.3em;
    }
    #sidebar {
        margin-left: 0;
    }
    #sidebarCollapse span {
        display: none;
    }
}

/* Form Elemanları (Karanlık mod) */
input[type="text"],
input[type="email"],
input[type="phone"],
input[type="password"],
input[type="number"],
input[type="search"],
select {
    height: 50px !important;
    border-radius: 10px !important;
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.4) !important;
    background-color: #161922 !important;
    font-size: 14px;
    font-weight: 500;
    color: #ffffff !important;
    border-top: 0 !important;
    border-left: 1px solid #282d3c !important;
    border-right: 1px solid #282d3c !important;
    border-bottom: 2px solid #1e74fd !important;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

textarea.form-control {
    border-radius: 10px !important;
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.4) !important;
    background-color: #161922 !important;
    font-size: 14px;
    font-weight: 500;
    color: #ffffff !important;
    border-top: 0 !important;
    border-left: 1px solid #282d3c !important;
    border-right: 1px solid #282d3c !important;
    border-bottom: 2px solid #1e74fd !important;
    resize: none;
}

.form__input {
    display: block;
    width: 100%;
    transition: all 0.3s;
    padding: 0.375rem 0.75rem;
    height: 50px !important;
    border-radius: 10px !important;
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.4) !important;
    background-color: #161922 !important;
    font-size: 14px;
    font-weight: 500;
    color: #ffffff !important;
}
.form__input:focus {
    outline: none;
    border-bottom: 3px solid #1e74fd !important;
}

.form__label {
    height: 17px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #b0b3b8;
}

/* Kartlar */
.card {
    border-radius: 10px;
    background-color: #15181e !important;
    border: 1px solid #232733 !important;
    color: #ffffff !important;
    text-align: center;
    margin-bottom: 50px;
    float: left;
    width: 100%;
}

.card:hover {
    border-radius: 10px;
    box-shadow: 0 15px 25px 0 rgba(0, 0, 0, 0.5);
    transition: .3s all;
}

.card-header {
    padding: .6rem 1.25rem;
    background-color: #1b1e26 !important;
    border-bottom: 1px solid #232733 !important;
    color: #ffffff !important;
}

.card-body {
    padding: 1rem;
    background-color: #15181e !important;
}

/* İstatistik kutuları */
.card-item.b1 {
    background: linear-gradient(45deg, #0d47a1, #1976d2) !important;
    margin-left: 0px;
}

.card-item.b2 {
    background: linear-gradient(45deg, #00695c, #00897b) !important;
}

.card-item.b3 {
    background: linear-gradient(45deg, #1565c0, #03a9f4) !important;
}

.card-item.b4 {
    background: linear-gradient(45deg, #283593, #3f51b5) !important;
    margin-right: 0px;
}

/* Butonlar (Mavi) */
.btn-primary, button[type="submit"] {
    background: linear-gradient(90deg, #1e74fd 0%, #0d52bf 100%) !important;
    border-color: #1e74fd !important;
    color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(30, 116, 253, 0.35);
}

.btn-primary:hover, button[type="submit"]:hover {
    background: linear-gradient(90deg, #0d52bf 0%, #083b8a 100%) !important;
}

/* Dark Theme Entegrasyon Ayarları */
[data-theme="dark"] body {
    background-color: #0b0c10 !important;
}

[data-theme="dark"] .navbar {
    background: linear-gradient(to right, #0052d4, #4364f7, #6fb1fc) !important;
}

[data-theme="dark"] #sidebar {
    background-color: #11141a !important;
}

[data-theme="dark"] .card {
    background-color: #15181e !important;
    border: 1px solid #232733 !important;
}

[data-theme="dark"] #sidebar ul li.active > a, 
[data-theme="dark"] a[aria-expanded="true"] {
    background: linear-gradient(90deg, #1e74fd 0%, #0d52bf 100%) !important;
}