@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&display=swap');

@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

:root {
    --helpercolor: #1e90ff;
    --helperbordercolor: rgba(190, 190, 255, 0.8);
    --white: #ffffff;
    --systemcolor1: #000000;
    --systemcolor2: #ffffff;
    --systemcolor3: #0000ff;
    --systemcolor4: #00ff00;
    --systemcolor5: #ff0000;
    --systemcolor6: #0000;
    --systemcolor7: #0000;
    --systemcolor8: #0000;
    --systemcolor9: #0000;
    --systemcolor10: #0000;
}

[contenteditable] {
    outline: 0px solid transparent;
}

html, body {
    font-family: 'Montserrat', sans-serif;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
    text-decoration: none;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active {
    outline: none !important;
    box-shadow: none !important;
}

.content {
    padding-top: 1.1rem;
}

/* Mobil sayfalar için container - padding ve max-width yok */
.mobil-page-content {
    width: 100%;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.container {
    width: 100%;
    max-width: 100%;
    padding: 0px 58px 0px 58px;
}

.navmenu nav .nav-link {
    color: #283D59;
    font-family: 'Open Sans';
}

.navmenu .nav-link.active {
    background-color: #F4F5FA;
}

/* Sidebar Styles */
.sidebar {
    position: fixed;
    left: -240px;
    top: 50%;
    transform: translateY(-50%);
    width: 240px;
    background: #fff;
    border-radius: 0 16px 16px 0;
    box-shadow: 4px 0 20px rgba(0,0,0,0.1);
    z-index: 2000;
    transition: left 0.3s ease;
}

.sidebar.open {
    left: 0;
}

.sidebar-tab {
    position: absolute;
    right: -32px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 60px;
    background: linear-gradient(180deg, #0891b2, #0e7490);
    border: none;
    border-radius: 0 10px 10px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.sidebar-tab:hover {
    background: linear-gradient(180deg, #06b6d4, #0891b2);
}

.sidebar-content {
    padding: 16px 12px;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar .sidebar-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    text-decoration: none;
    color: #475569;
    border-radius: 10px;
    transition: all 0.2s;
    font-size: 14px;
    font-weight: 500;
}

.sidebar .sidebar-link:hover {
    background: rgba(8, 145, 178, 0.08);
    color: #0891b2;
}

.sidebar .sidebar-link.active {
    background: rgba(8, 145, 178, 0.12);
    color: #0891b2;
    font-weight: 600;
}

.sidebar .sidebar-link svg,
.sidebar .sidebar-link img {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.sidebar .sidebar-link span {
    white-space: nowrap;
}

.sidebar .sidebar-link.danger:hover {
    background: rgba(220, 38, 38, 0.08);
    color: #dc2626;
}

.sidebar .sidebar-link.danger.active {
    background: rgba(220, 38, 38, 0.12);
    color: #dc2626;
}

.sidebar-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 8px 0;
}

.searchbtn {
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.5);
}

.flex-esit {
    flex: 1;
    min-width: 0;
}

.custom-file-input {
    display: none;
}

.modal {
    background: rgba(255,255,255,0.84);
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

/* ============================================
   BLAZOR RECONNECT UI - ÖZEL TASARIM
============================================ */
#components-reconnect-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    z-index: 99999;
    align-items: center;
    justify-content: center;
}

.smloji-reconnect-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.smloji-reconnect-spinner {
    position: relative;
    width: 144px;
    height: 144px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.smloji-reconnect-spinner::before {
    content: '';
    position: absolute;
    width: 144px;
    height: 144px;
    border: 4px solid rgba(9, 158, 192, 0.15);
    border-top-color: #099EC0;
    border-radius: 50%;
    animation: smloji-reconnect-spin 1s linear infinite;
}

.smloji-reconnect-spinner::after {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    border: 3px solid rgba(41, 62, 89, 0.15);
    border-bottom-color: #293E59;
    border-radius: 50%;
    animation: smloji-reconnect-spin-reverse 1.5s linear infinite;
}

.smloji-reconnect-icon {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: smloji-reconnect-pulse 2s ease-in-out infinite;
}

.smloji-reconnect-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.smloji-reconnect-text {
    font-size: 18px;
    font-weight: 500;
    color: #293E59;
    letter-spacing: 0.5px;
    animation: smloji-reconnect-fade 1.5s ease-in-out infinite;
}

@keyframes smloji-reconnect-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes smloji-reconnect-spin-reverse {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}

@keyframes smloji-reconnect-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes smloji-reconnect-fade {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}


#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAw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gMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.swiper {
    width: 100%;
    height: 300px;
}

.img {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 100%;
}

.inputnoborder {
    border: none;
}

.inputauto-w {
    text-overflow: ellipsis;
}

.inner-addon {
    position: relative;
}

    .inner-addon .icon {
        position: absolute;
        padding: 8px;
        padding-left: 15px;
        pointer-events: none;
    }

.left-addon .icon {
    left: 0px;
}

.right-addon .icon {
    right: 0px;
}

.left-addon input {
    padding-left: 40px;
}

.right-addon input {
    padding-right: 40px;
}

.hue-bg {
    background: url(hue.png) center;
    background: -moz-linear-gradient(left, #F00 0%, #FF0 16.66%, #0F0 33.33%, #0FF 50%, #00F 66.66%, #F0F 83.33%, #F00 100%);
    background: -webkit-linear-gradient(left, #F00 0%, #FF0 16.66%, #0F0 33.33%, #0FF 50%, #00F 66.66%, #F0F 83.33%, #F00 100%);
    background: -ms-linear-gradient(left, #F00 0%, #FF0 16.66%, #0F0 33.33%, #0FF 50%, #00F 66.66%, #F0F 83.33%, #F00 100%);
    background: -o-linear-gradient(left, #F00 0%, #FF0 16.66%, #0F0 33.33%, #0FF 50%, #00F 66.66%, #F0F 83.33%, #F00 100%);
}

.hue-sl-bg {
    background: -moz-linear-gradient(top, hsl(0, 0%, 100%) 0%, hsla(0, 0%, 100%, 0) 50%, hsla(0, 0%, 0%, 0) 50%, hsl(0, 0%, 0%) 100%), -moz-linear-gradient(left, hsl(0, 0%, 50%) 0%, hsla(0, 0%, 50%, 0) 100%);
    background: -webkit-linear-gradient(top, hsl(0, 0%, 100%) 0%, hsla(0, 0%, 100%, 0) 50%, hsla(0, 0%, 0%, 0) 50%, hsl(0, 0%, 0%) 100%), -webkit-linear-gradient(left, hsl(0, 0%, 50%) 0%, hsla(0, 0%, 50%, 0) 100%);
    background: -ms-linear-gradient(top, hsl(0, 0%, 100%) 0%, hsla(0, 0%, 100%, 0) 50%, hsla(0, 0%, 0%, 0) 50%, hsl(0, 0%, 0%) 100%), -ms-linear-gradient(left, hsl(0, 0%, 50%) 0%, hsla(0, 0%, 50%, 0) 100%);
    background: -o-linear-gradient(top, hsl(0, 0%, 100%) 0%, hsla(0, 0%, 100%, 0) 50%, hsla(0, 0%, 0%, 0) 50%, hsl(0, 0%, 0%) 100%), -o-linear-gradient(left, hsl(0, 0%, 50%) 0%, hsla(0, 0%, 50%, 0) 100%);
}

.hueeasy-sl-bg {
    background: linear-gradient(270deg,transparent 0,#fff);
    background-color: rgb(255, 0, 0);
}

    .hueeasy-sl-bg > div {
        height: 100%;
        background: linear-gradient(180deg,transparent 0,#000);
        position: relative;
    }

        .hueeasy-sl-bg > div .slpicker {
            position: absolute;
            width: 15px;
            height: 15px;
            border: 4px solid white;
            box-shadow: 0 2px 5px rgb(57 76 96 / 15%), 0 0 0 1px rgb(64 87 109 / 7%);
            border-radius: 100%;
            pointer-events: none;
            transform: translate(-50%, -50%);
        }

.hueslider {
    -webkit-appearance: none;
    height: 13px;
    border-radius: 5px;
    background: url(hue.png) center;
    background: -moz-linear-gradient(left, #F00 0%, #FF0 16.66%, #0F0 33.33%, #0FF 50%, #00F 66.66%, #F0F 83.33%, #F00 100%);
    background: -webkit-linear-gradient(left, #F00 0%, #FF0 16.66%, #0F0 33.33%, #0FF 50%, #00F 66.66%, #F0F 83.33%, #F00 100%);
    background: -ms-linear-gradient(left, #F00 0%, #FF0 16.66%, #0F0 33.33%, #0FF 50%, #00F 66.66%, #F0F 83.33%, #F00 100%);
    background: -o-linear-gradient(left, #F00 0%, #FF0 16.66%, #0F0 33.33%, #0FF 50%, #00F 66.66%, #F0F 83.33%, #F00 100%);
    outline: none;
    -webkit-transition: .2s;
    transition: opacity .2s;
}

    .hueslider::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 15px;
        height: 15px;
        box-shadow: 0 2px 5px rgb(57 76 96 / 15%), 0 0 0 1px rgb(64 87 109 / 7%);
        border-radius: 50%;
        background: #ffffff;
        cursor: pointer;
    }

    .hueslider::-moz-range-thumb {
        width: 15px;
        height: 15px;
        box-shadow: 0 2px 5px rgb(57 76 96 / 15%), 0 0 0 1px rgb(64 87 109 / 7%);
        background: #04AA6D;
        cursor: pointer;
    }

#textcolorpicker {
    padding: 20px;
}

.colorpickerbar {
    height: 20px;
}

.imageplaceholder {
    position: relative;
}

    .imageplaceholder::after {
        content: "";
        top: 0px;
        left: 0px;
        position: absolute;
        width: 100%;
        background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
        background-size: 400% 400%;
        animation: gradient 1s ease infinite;
        height: 100%;
        z-index: 999999999;
    }

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}



@keyframes example {
    from {
        background-color: red;
    }

    to {
        background-color: yellow;
    }
}

@keyframes slideInFromLeft {
    0% {
        left: -100%;
    }

    100% {
        left: 0;
    }
}

[data-anim="1"] {
    animation-name: example;
    animation-duration: 4s;
}

.animate[data-anim="2"] > * {
    animation-name: slideInFromLeft;
    animation-duration: 4s;
}

[data-marka="1"][data-t="img"] .content {
    background: var(--markalogo1);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    text-indent: -10000px;
}
[data-marka="2"][data-t="img"] .content {
    background: var(--markalogo2);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    text-indent: -10000px;
}

/* Nav Hashtag Önerileri */
.nav-hashtag-suggestions {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    z-index: 3000;
    overflow: hidden;
    animation: dropdownSlide 0.2s ease-out;
}

.nav-hashtag-item {
    padding: 12px 16px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: #475569;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-hashtag-item:last-child {
    border-bottom: none;
}

.nav-hashtag-item:hover,
.nav-hashtag-item.selected {
    background: #e3f2fd;
    color: #099ec0;
}

@keyframes dropdownSlide {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tag Input Container */
.tag-input-container {
    display: flex;
    flex-wrap: wrap; /* Burası önemli */
    align-items: center;
    gap: 5px;
    padding: 2px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    cursor: text;
}

.tag-input-container input {
    min-width: 20px; /* Input'un sıkışmasını engeller */
   flex: 1; /* Her zaman en sona gider */
    border: none;
    outline: none;
}

.tag-input-container:focus-within {
    border-color: #099ec0;
    box-shadow: 0 0 0 3px rgba(9, 158, 192, 0.1);
}


.search-tag {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    background: #099ec0;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    line-height: 1;
    margin: 5px 7.5px;
    height: 30px;
}

.search-tag i {
    cursor: pointer;
    font-size: 13px;
    padding: 0;
    border-radius: 50%;
    transition: background 0.2s ease;
    line-height: 1;
}

.search-tag i:hover {
    background: rgba(255, 255, 255, 0.2);
}

.tag-actual-input {
    flex: 1;
    min-width: 100px;
    border: none;
    outline: none;
    background: transparent;
    font-size: 13px;
    padding: 5px 1px !important;
    height: 30px;
    line-height: 1.4;
}

.tag-actual-input::placeholder {
    color: #94a3b8;
}