﻿@import "bootstrap-grid.min.css";
/*@import "normalize.css";*/
@import "/assets/vendor/icofont/icofont.min.css";

/* 300 normal */
@font-face {
    font-family: 'DM Sans Latin Ext';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('/fonts/dm-sans-latin-ext-300-normal.woff2') format('woff2'), url('/fonts/dm-sans-latin-ext-300-normal.woff') format('woff'), url('/fonts/dm-sans-latin-ext-300-normal.ttf') format('truetype');
}

/* 300 italic */
@font-face {
    font-family: 'DM Sans Latin Ext';
    font-style: italic;
    font-weight: 300;
    font-display: swap;
    src: url('/fonts/dm-sans-latin-ext-300-italic.woff2') format('woff2'), url('/fonts/dm-sans-latin-ext-300-italic.woff') format('woff'), url('/fonts/dm-sans-latin-ext-300-italic.ttf') format('truetype');
}

/* 400 normal */
@font-face {
    font-family: 'DM Sans Latin Ext';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/dm-sans-latin-ext-400-normal.woff2') format('woff2'), url('/fonts/dm-sans-latin-ext-400-normal.woff') format('woff'), url('/fonts/dm-sans-latin-ext-400-normal.ttf') format('truetype');
}

/* 400 italic */
@font-face {
    font-family: 'DM Sans Latin Ext';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/dm-sans-latin-ext-400-italic.woff2') format('woff2'), url('/fonts/dm-sans-latin-ext-400-italic.woff') format('woff'), url('/fonts/dm-sans-latin-ext-400-italic.ttf') format('truetype');
}

/* 500 normal */
@font-face {
    font-family: 'DM Sans Latin Ext';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/fonts/dm-sans-latin-ext-500-normal.woff2') format('woff2'), url('/fonts/dm-sans-latin-ext-500-normal.woff') format('woff'), url('/fonts/dm-sans-latin-ext-500-normal.ttf') format('truetype');
}

/* 400 italic */
@font-face {
    font-family: 'DM Sans Latin Ext';
    font-style: italic;
    font-weight: 500;
    font-display: swap;
    src: url('/fonts/dm-sans-latin-ext-500-italic.woff2') format('woff2'), url('/fonts/dm-sans-latin-ext-500-italic.woff') format('woff'), url('/fonts/dm-sans-latin-ext-500-italic.ttf') format('truetype');
}



:root {
    /* Açık Tema Renkleri */
    --primary-color: #3f729b;
    --secondary-color: #4338ca;
    --primary-button: #3f729b;
    --accent-color: #4895ef;
    --success-color: #4cc9f0;
    --text-color: #2b2d42;
    --text-light: #8c8f94;
    --background-color: #f8f9fa;
    --card-bg: #ffffff;
    --input-bg: #f1f3f5;
    --border-color: #bdbdbd;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

    /* Koyu Tema Renkleri */
    :root[data-theme="dark"] {
        --primary-color: #111827;
        --secondary-color: #1f2937;
        --primary-button: #4cc9f0;
        --accent-color: #3f37c9;
        --success-color: #4cc9f0;
        --text-color: #f8f9fa;
        --text-light: #adb5bd;
        --background-color: #121212;
        --card-bg: #383838;
        --input-bg: #2d2d2d;
        --border-color: #3d3d3d;
        --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }


/*:root {
    --bc-color-primary: #166094;
    --bc-color-primary-dark: #073e65;
    --bc-color-primary-light: #eaf6ff;
    --bc-color-secondary: #a3195b;
    --bc-color-secondary-dark: #75053b;
    --bc-color-secondary-light: #ffe2f0;
    --bc-gradient-primary: 270deg, #662483 0%, #ab2c69 100%;
    --bc-font-main: 'DM Sans', sans-serif;
    --bc-font-xlarge: 20px;
    --bc-font-large: 18px;
    --bc-font-normal: 16px;
    --bc-font-small: 14px;
    --bc-font-xsmall: 12px;
    --border-radius-1: 6px;
    --border-radius-2: 12px;
    --border-radius-3: 100px;
    --border-radius-4: 50%;
    --shadow-1: 0 1px 2px 2px #00000020;
    --shadow-2: 0 6px 10px 0px #00000021;
    --shadow-3: 0 8px 16px 0px #00000020;
    --transition-1: 0.2s;
    --transition-2: 256ms ease-in-out;
    --transition-3: transform .85s cubic-bezier(.23,1,.32,1),background .3s,border .3s,border-radius .3s,box-shadow .3s;
    --transition-4: all .25s cubic-bezier(.645,.045,.355,1);
}*/


* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html {
    background: var(--bs-dark);
    height: 100%;
    line-height: 1.1;
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}


body {
    /*font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;*/
    font-family: 'DM Sans', sans-serif;
    font-optical-sizing: auto; /* opsz parametresini aktive eder */
    min-height: 100vh;
    color: var(--text-color);
}


/* Tema Butonu */
.theme-toggle {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    border: none;
    cursor: pointer;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

    .theme-toggle:hover {
        transform: scale(1.1);
    }

.theme-icon {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

    .theme-icon i {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: white;
        font-size: 1.2rem;
        transition: opacity 0.3s ease;
    }

    .theme-icon .fa-sun {
        opacity: 0;
    }

body[data-theme="dark"] .theme-toggle .fa-moon {
    opacity: 0;
}

body[data-theme="dark"] .theme-toggle .fa-sun {
    opacity: 1;
}


/* Blob Animasyonları */
.blob-animation {
    position: fixed;
    width: 100vmax;
    height: 100vmax;
    pointer-events: none;
    z-index: -1;
    transition: all 1.5s ease-out;
}

    .blob-animation::before,
    .blob-animation::after {
        content: '';
        position: absolute;
        border-radius: 47% 53% 70% 30% / 30% 30% 70% 70%;
        filter: blur(40px);
        transition: all 1.5s ease-out;
    }

    .blob-animation::before {
        width: 100%;
        height: 100%;
        background: var(--blob-color-1);
        animation: blob-rotate 20s linear infinite;
    }

    .blob-animation::after {
        width: 80%;
        height: 80%;
        background: var(--blob-color-2);
        animation: blob-rotate 25s linear infinite reverse;
        margin: 10%;
    }

    .blob-animation div {
        position: absolute;
        border-radius: 50%;
        opacity: 0.2;
        filter: blur(80px);
    }

.blob-child {
    position: absolute;
    width: 60%;
    height: 60%;
    background: var(--blob-color-3);
    border-radius: 53% 47% 70% 30% / 30% 30% 70% 70%;
    animation: blob-rotate 30s linear infinite;
    margin: 20%;
    filter: blur(30px);
}

@keyframes blob-rotate {
    0% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.2);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}

@keyframes float0 {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-20px);
    }
}

@keyframes float1 {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(30px);
    }
}

@keyframes float2 {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(20px, -20px);
    }
}

@keyframes float3 {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(40px);
    }
}

@keyframes float4 {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-30px);
    }
}



a {
    text-decoration: none;
    color: var(--bc-color-primary);
}

    a:hover {
    }

p {
    margin: 0 0 8px 0;
    line-height: 1.4;
}


/*input, textarea, select {
    width: 100%;
    padding: 0.9rem 1rem 0.9rem 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    background-color: var(--input-bg);
    color: var(--text-color);
    font-size: 0.95rem;
}*/

input, textarea, select, button {
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-feature-settings: "liga" 1;
}

    input:-webkit-autofill,
    input:-webkit-autofill:focus,
    input:-webkit-autofill:hover {
        font-family: 'DM Sans', sans-serif !important;
        font-weight: 400 !important;
        -webkit-text-fill-color: var(--text-color) !important;
        background-color: var(--input-bg) !important;
        transition: background-color 10000s ease-in-out 0s !important;
    }

    input[type="password"]:-webkit-autofill {
        -webkit-text-fill-color: var(--text-color) !important;
    }


.input-group {
    position: relative;
    margin-bottom: 1.5rem;
}

    .input-group label {
        display: block;
        margin-bottom: 0.5rem;
        font-size: 0.9rem;
        font-weight: 500;
        cursor: pointer;
        color: var(--text-light);
    }

    .input-group input {
        width: 100%;
        padding: 0.8rem 1rem 0.8rem 2.5rem;
        border-radius: 8px;
        border: 1px solid var(--border-color);
        background-color: var(--input-bg);
        color: var(--text-color);
        font-size: 0.95rem;
    }

        .input-group input:focus {
            outline: none;
            border-color: var(--border-color);
            box-shadow: 0 0 0 2px rgba(67, 97, 238, 0.2);
        }

    .input-group:not(:has(i)) input {
        padding: 0.8rem 1rem 0.8rem 1rem;
    }

input:-internal-autofill-selected {
    appearance: menulist-button;
    background-image: none !important;
    background-color: var(--input-bg) !important;
}

input::-internal-input-suggested {
    color: var(--text-color);
}

.input-group i {
    position: absolute;
    left: 24px; /*
    top: 50%;
    bottom: 50%;*/
    transform: translateY(100%);
    color: var(--text-light);
}

.input-group .show-password {
    position: absolute;
    right: 3rem; /*
    top: 50%;*/
    transform: translateY(25%);
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
}

    .input-group .show-password i {
        position: absolute;
        right: 0;
        left: 0;
    }

    .input-group .show-password:hover {
        color: var(--primary-color);
    }


    @media(max-width:992px) {
        .input-group {
            margin-bottom: .75rem;
        }
    }


/* Other Helpers */

.overflow-y-10 {
    overflow-y: auto;
    max-height: 10vh;
}

.overflow-y-15 {
    overflow-y: auto;
    max-height: 15vh;
}

.overflow-y-20 {
    overflow-y: auto;
    max-height: 20vh;
}

.overflow-y-25 {
    overflow-y: auto;
    max-height: 25vh;
}

.overflow-y-30 {
    overflow-y: auto;
    max-height: 30vh;
}

.overflow-y-35 {
    overflow-y: auto;
    max-height: 35vh;
}

.overflow-y-40 {
    overflow-y: auto;
    max-height: 40vh;
}

.overflow-y-45 {
    overflow-y: auto;
    max-height: 45vh;
}

.overflow-y-50 {
    overflow-y: auto;
    max-height: 50vh;
}

.overflow-y-55 {
    overflow-y: auto;
    max-height: 55vh;
}

.overflow-y-60 {
    overflow-y: auto;
    max-height: 60vh;
}

.overflow-y-65 {
    overflow-y: auto;
    max-height: 65vh;
}

.overflow-y-70 {
    overflow-y: auto;
    max-height: 70vh;
}

.overflow-y-75 {
    overflow-y: auto;
    max-height: 75vh;
}

.overflow-y-80 {
    overflow-y: auto;
    max-height: 80vh;
}

.overflow-y-85 {
    overflow-y: auto;
    max-height: 85vh;
}

.overflow-y-90 {
    overflow-y: auto;
    max-height: 90vh;
}

.overflow-y-95 {
    overflow-y: auto;
    max-height: 95vh;
}

.overflow-y-100 {
    overflow-y: auto;
    max-height: 100vh;
}

/* Button Styles */

.btn {
    display: inline-block;
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 1rem;
    text-align: center;
    border-radius: 8px;
    text-decoration: none;
    outline: none;
    border: 0;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-button) !important;
    color: white !important;
}


/* Desktop % Nobile Hide and Show */

.d-desktop {
    display: block !important;
}

.d-mobile {
    display: none !important;
}

@media only screen and (min-width: 600px) {
    .d-desktop {
        display: none !important;
    }

    .d-mobile {
        display: block !important;
    }
}


.guvenlik-sorusu-div {
    border: 1px solid var(--bc-color-primary);
    padding: 4px 8px;
    border-radius: var(--border-radius-1);
    background: var(--bs-gray-100);
    margin: 0;
    align-items: center;
}

    .guvenlik-sorusu-div input {
        margin-bottom: unset;
    }


/* Login Design */

.login {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem;
    /*background: var(--bs-border-color);*/
}

    .login > div:first-child {
    }

.login-container {
    background-color: var(--card-bg);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    display: block;
    backdrop-filter: blur( 40px );
    -webkit-backdrop-filter: blur( 40px );
}

.login-screen {
    background-color: var(--card-bg);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    display: block;
}

/* QR Kod ve Şifre Unuttum Düzenlemesi */
.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.qr-login-container {
    position: relative;
}

.qr-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--card-bg);
    padding: 1rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.qr-login-container:hover .qr-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(-10px);
}

/* Diğer Elementler */

button {
    display: inline-block;
    width: 100%;
}

.logo-container {
    text-align: center;
    margin-bottom: 1.5rem;
}

.login-logo {
    height: 80px;
    width: auto;
    margin-bottom: 12px;
}



.welcome-text {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.subtext {
    color: var(--text-light);
    text-align: center;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.footer-container {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.footer-label {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.85rem;
    margin-bottom: 0;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 1.5rem 0 1rem 0;
}

    .footer-links a {
        color: var(--text-color);
        text-decoration: none;
        font-size: 0.85rem;
    }

        .footer-links a:hover {
            color: var(--primary-button);
            text-decoration: underline;
        }


/* Responsive Tasarım */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .login {
        padding: 1rem;
    }

    .login-container {
        padding: 1.5rem;
    }

    .input-group input {
        font-size: .85rem;
    }

    .welcome-text {
        font-size: 1.5rem !important;
    }

    .footer-links {
        flex-direction: row;
        gap: 1.25rem;
    }


}

@media (max-width: 480px) {
    .options-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

.modal {
    display: none;
    justify-content: center;
    position: fixed;
    z-index: 1;
    bottom: 0;
    right: 0;
    top: 0;
    left: 0;
    overflow: auto;
    background-color: rgb(0 0 0 / 55%);
}

/* Modal Content */
.modal-content {
    background-color: var(--card-bg);
    margin: auto;
    min-height: 100px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    animation-name: fadeIn;
    -webkit-animation-duration: .25s;
    animation-duration: .25s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

/* Modal Head */

.modal-head {
    display: flex;
    justify-content: space-between;
    border-radius: 8px 8px 0 0;
    font-weight: 500;
    max-height: 5vh;
    background: linear-gradient(270deg, #662483 0%, #ab2c69 100%);
    align-items: center;
}

    .modal-head h1 {
        padding: 6px 12px;
        font-size: 1rem;
        color: var(--bs-white);
    }

.modal-content p {
    font-size: 1rem;
    color: var(--text-color);
}

/* Modal Text aRea */
.modal-text {
    padding: 8px 16px 16px 16px;
}

    .modal-text br {
        content: "";
        margin: 8px;
        display: block;
    }

/* The Close Button */
.modal-close {
    color: var(--bs-white);
    position: relative;
    float: right;
    padding: 6px 12px;
    font-size: 28px;
}

    .modal-close:hover,
    .modal-close:focus {
        color: var(--bs-light);
        text-decoration: none;
        cursor: pointer;
    }

@media (max-width:992px) {
    .modal-content {
        margin: auto 12px;
    }

    .modal-head h1 {
        padding: 10px 12px 8px 12px;
        font-size: 14px;
    }

    .modal-content p {
        font-size: 14px;
    }

}
/* Kurum Secim CSS */

#divKurumlar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 12px;
    min-height: 15rem;
    max-height: 20rem;
    overflow-y: auto;
}

.kurum {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    border: 1px solid var(--border-color);
    background-color: var(--card-bg);
    padding: .7rem;
    border-radius: 15px;
    height: 11rem;
    cursor: pointer;
}

/*    .kurum p {
        color: var(--text-color);
    }*/

.kurumdiv {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

    .kurumdiv row p:first-child {
        margin-bottom: 0;
        line-height: 1rem;
        font-weight: 600;
    }

    .kurum-kodu {
        font-size: 14px;
    }

    .kurum-il-ilce {
        font-size: 14px;
        color: var(--text-color);
    }

.kurum-adi {
    min-height: 48px;
    max-height: 48px;
    font-size: 14px;
}

.kurum-bitis-tarihi {
    text-align: right;
    font-weight: 500;
    font-size: 14px;
}

.kurum img {
    border-radius: 4px;
    width: 48px;
    height: 48px;
}

.kurum-hover {
    border: 1px solid var(--border-color);
    background-color: var(--input-bg);
    color: var(--text-color);
}

.kurum input[type="radio"] {
    opacity: 0;
    width: 0;
    height: 0;
    display: none;
}

.kurum label {
    margin: 0;
    margin-left: 7px;
}

.kurum-onay p {
    font-size: 14px;
}

.omryonlenme {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24%;
    margin: 5px;
    border: 1px solid #e7eaf3;
    border-color: #F36896;
    background-color: #FDE5ED;
    padding: .7rem;
    border-radius: 15px;
    height: 11rem;
    cursor: pointer;
}

    .omryonlenme p {
        font-size: .8rem;
        margin-bottom: .8rem;
    }

        .omryonlenme p:last-child {
            font-size: .7rem;
        }

.omryonlenme-hover {
    border: 1px solid #3f729b;
    background-color: #e0f1ff;
    color: #002e54;
}

.omryonlenme input[type="radio"] {
    opacity: 0;
    width: 0;
    height: 0;
    display: none;
}

@media (max-width:992px) {

    #divKurumlar {
        min-height: 20rem;
        max-height: unset;
    }


    #divKurumlar {
        grid-template-columns: repeat(1, 1fr);
    }

    .kurum {
        width: 100%;
    }
}

.language-select {
    display: flex;
    flex-direction: column;
    margin-left: auto;
    align-self: center;
}

    .language-select ul li a img {
        width: 22px;
        height: 22px;
        margin-right: 5px;
    }

    .language-select ul {
        list-style: none;
        margin: 0;
        padding-left: 0;
    }

    .language-select li {
        /*background: var(--bc-color-primary-light);
        border: 1px solid var(--bs-gray-500);
        border-radius: 40px;
        position: relative;*/
        display: inline-flex;
        transition-duration: .25s;
        padding: 0;
    }

        .language-select li:first-child {
            border-right: 1px solid var(--bs-border-color-translucent);
        }

        .language-select li a {
            display: flex;
            color: var(--bs-gray-700);
            font-size: var(--bc-font-small);
            padding: 6px 12px;
            align-items: center;
        }

        .language-select li:hover,
        .language-select li:focus-within {
            cursor: pointer;
        }

            .language-select li:focus-within a {
                outline: none;
            }

    .language-select ul li ul {
        visibility: hidden;
        opacity: 0;
        min-width: 100px;
        position: absolute;
        transition: all 1s ease;
        margin-top: -40px;
        left: 0;
        display: none;
        border-radius: 40px;
    }


/* Page Loader */


/* Center the loader */
#loader .loader-inner {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1984;
    width: 90px;
    height: 90px;
    margin: -25px 0 0 -25px;
    border: 10px solid var(--bc-color-primary-light);
    border-radius: 50%;
    border-top: 10px solid var(--bc-color-primary);
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

#loader {
    background: #1f1f1fa4;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2000;
}

    #loader:before {
    }

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Add animation to "page content" */
.animate-bottom {
    position: relative;
    -webkit-animation-name: animatebottom;
    -webkit-animation-duration: 1s;
    animation-name: animatebottom;
    animation-duration: 1s
}

@-webkit-keyframes animatebottom {
    from {
        bottom: -100px;
        opacity: 0
    }

    to {
        bottom: 0px;
        opacity: 1
    }
}

@keyframes animatebottom {
    from {
        bottom: -100px;
        opacity: 0
    }

    to {
        bottom: 0;
        opacity: 1
    }
}
