﻿
*,
*::before,
*::after {
    box-sizing: border-box;
}


/* ---------------------------------------------------------
   HTML
--------------------------------------------------------- */

html {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    overflow: hidden;
}


/* ---------------------------------------------------------
   BODY
--------------------------------------------------------- */

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

body {
    position: fixed;
    inset: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #20202a;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
    overscroll-behavior: none;
}


/* ---------------------------------------------------------
   HEADINGS
--------------------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    padding: 0;
    font-size: inherit;
    font-weight: inherit;
}


/* ---------------------------------------------------------
   PARAGRAPH
--------------------------------------------------------- */

p {
    margin: 0;
    padding: 0;
}


/* ---------------------------------------------------------
   LISTS
--------------------------------------------------------- */

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}


/* ---------------------------------------------------------
   LINKS
--------------------------------------------------------- */

a {
    color: inherit;
    text-decoration: none;
}

    a:hover,
    a:focus,
    a:active {
        color: inherit;
        text-decoration: none;
    }


/* ---------------------------------------------------------
   BUTTON
--------------------------------------------------------- */

button {
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    color: inherit;
    background: transparent;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}


/* ---------------------------------------------------------
   FORM ELEMENTS
--------------------------------------------------------- */

input,
textarea,
select {
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    color: inherit;
    background: transparent;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    border-radius: 0;
}


    /* ---------------------------------------------------------
   INPUT PLACEHOLDER
--------------------------------------------------------- */

    input::placeholder,
    textarea::placeholder {
        color: inherit;
        opacity: 1;
    }


    /* ---------------------------------------------------------
   CHECKBOX / RADIO
--------------------------------------------------------- */

    input[type="checkbox"],
    input[type="radio"] {
        appearance: none;
        -webkit-appearance: none;
    }


/* ---------------------------------------------------------
   IMAGES
--------------------------------------------------------- */

img,
picture,
svg,
video,
canvas {
    display: block;
    max-width: 100%;
}


/* ---------------------------------------------------------
   SVG
--------------------------------------------------------- */

svg {
    overflow: hidden;
}


/* ---------------------------------------------------------
   TABLE
--------------------------------------------------------- */

table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}


/* ---------------------------------------------------------
   FORM
--------------------------------------------------------- */

form {
    margin: 0;
    padding: 0;
}


/* ---------------------------------------------------------
   FIELDSET
--------------------------------------------------------- */

fieldset {
    margin: 0;
    padding: 0;
    border: 0;
}


/* ---------------------------------------------------------
   LEGEND
--------------------------------------------------------- */

legend {
    margin: 0;
    padding: 0;
}


/* ---------------------------------------------------------
   HR
--------------------------------------------------------- */

hr {
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-top: 1px solid currentColor;
}


/* ---------------------------------------------------------
   HIDDEN
--------------------------------------------------------- */

[hidden] {
    display: none !important;
}


/* ---------------------------------------------------------
   FOCUS
--------------------------------------------------------- */

:focus {
    outline: none;
}


/* ---------------------------------------------------------
   USER SELECT
--------------------------------------------------------- */

button,
a,
label {
    -webkit-user-select: none;
    user-select: none;
}

input,
textarea {
    -webkit-user-select: text;
    user-select: text;
}


/* ---------------------------------------------------------
   TOUCH
--------------------------------------------------------- */

a,
button,
label,
input,
textarea,
select {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}


/* ---------------------------------------------------------
   APP
--------------------------------------------------------- */

.app {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}
#appScreen {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    background: #fff;
}

    #appScreen.page-out {
        opacity: 0;
        transform: translateX(0px);
        transition: all .18s ease;
    }

    #appScreen.page-in {
        opacity: 1;
        transform: translateX(0);
        transition: all .35s ease;
    }

    #appScreen.page-back {
        opacity: 1;
        transform: translateX(0);
        transition: all .35s ease;
    }

/* ---------------------------------------------------------
   SAFE AREA
--------------------------------------------------------- */

.safe-area-top {
    padding-top: env(safe-area-inset-top);
}

.safe-area-bottom {
    padding-bottom: env(safe-area-inset-bottom);
}

.safe-area-left {
    padding-left: env(safe-area-inset-left);
}

.safe-area-right {
    padding-right: env(safe-area-inset-right);
}


/* ---------------------------------------------------------
   SCROLLBAR
--------------------------------------------------------- */

::-webkit-scrollbar {
    width: 0;
    height: 0;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: transparent;
}


/* ---------------------------------------------------------
   AUTOFILL
--------------------------------------------------------- */

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    transition: background-color 9999s ease-in-out 0s;
}


/* ---------------------------------------------------------
   SELECTION
--------------------------------------------------------- */

::selection {
    background: rgba(108, 77, 246, .18);
}

.app-loading {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    opacity: 1; 
    transition: opacity .35s ease, visibility .35s ease;
}


    .app-loading.active {
        opacity: 0; 
        pointer-events: none;
    }


.app-loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}


/* LOGO */

.app-loading-logo {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 28px;
    font-size: 25px;
    letter-spacing: -.8px;
}

    .app-loading-logo span {
        color: #252b29;
        font-weight: 500;
    }

    .app-loading-logo strong {
        color: #42C6A5;
        font-weight: 800;
    }


/* SPINNER */

.app-loading-spinner {
    width: 38px;
    height: 38px;
    position: relative;
    margin-bottom: 17px;
}


    .app-loading-spinner span {
        position: absolute;
        width: 100%;
        height: 100%;
        border: 3px solid rgba(66, 198, 165, .15);
        border-top-color: #42C6A5;
        border-radius: 50%;
        animation: appLoadingSpin 1s linear infinite;
    }


        .app-loading-spinner span:nth-child(2) {
            width: 27px;
            height: 27px;
            top: 5.5px;
            left: 5.5px;
            border-width: 2px;
            border-top-color: rgba(66, 198, 165, .55);
            animation-duration: .75s;
            animation-direction: reverse;
        }


        .app-loading-spinner span:nth-child(3) {
            width: 17px;
            height: 17px;
            top: 10.5px;
            left: 10.5px;
            border-width: 2px;
            border-top-color: #42C6A5;
            animation-duration: .5s;
        }


@keyframes appLoadingSpin {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


/* TEXT */

.app-loading-text {
    color: #9a9f9d;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .2px;
    animation: appLoadingPulse 1.4s ease-in-out infinite;
}


@keyframes appLoadingPulse {

    0%, 100% {
        opacity: .45;
    }

    50% {
        opacity: 1;
    }
}



.bildirim-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 23, 42, .58);
    backdrop-filter: blur(5px);
}

    .bildirim-modal.aktif {
        display: flex !important;
    }

.bildirim-modal-kart {
    position: relative;
    width: 100%;
    max-width: 360px;
    padding: 30px 24px 22px;
    border-radius: 24px;
    background: #fff;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .2);
    animation: bildirimModalAc .25s ease;
}

.bildirim-modal-kapat {
    position: absolute;
    top: 10px;
    right: 14px;
    border: 0;
    background: transparent;
    color: #64748b;
    font-size: 28px;
    cursor: pointer;
}

.bildirim-modal-ikon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    margin: 0 auto 18px;
    border-radius: 22px;
    background: #e8faf5;
    font-size: 32px;
}

.bildirim-modal-kart h3 {
    margin: 0 0 10px;
    color: #172b27;
    font-size: 22px;
    font-weight: 700;
}

.bildirim-modal-kart p {
    margin: 0 0 22px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.7;
}

.bildirim-izin-btn,
.bildirim-sonra-btn {
    display: block;
    width: 100%;
    min-height: 47px;
    border-radius: 13px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.bildirim-izin-btn {
    border: 0;
    background: #42C6A5;
    color: #fff;
}

    .bildirim-izin-btn:disabled {
        opacity: .65;
        cursor: wait;
    }

.bildirim-sonra-btn {
    margin-top: 8px;
    border: 0;
    background: transparent;
    color: #64748b;
}

@keyframes bildirimModalAc {
    from {
        opacity: 0;
        transform: translateY(12px) scale(.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}