﻿/* --- Basic Variables --- */

:root {
    --color-bg: #FFFFFF; /* arka plan rengi */
    --color-surface: #EAEAEA; /* kart, kutu içi */
    --color-surface-hover: #DDDDDD; /* kart, kutu içi hover */
    --color-text: #000000; /* normal metin */
    --color-text-muted: #708090; /* soluk ikincil metin */
    --color-text-blog: #444;
    --color-text-heading: #191919;
    --color-primary: #374859; /* Ana rengim */
    --color-secondary: #4FD1C5;
    --color-accent: crimson;
    --color-link: #374859;
    --color-link-hover: #1E293B;
    --color-border: #E5E7EB;
    --color-tag: #4FD1C5;
}

.darkmode {
    --color-bg: #141C23;
    --color-surface: #36444D;
    --color-surface-hover: #3d4950AA;
    --color-text: #E5E7EB;
    --color-text-muted: #9CA3AF;
    --color-text-blog: #DDD;
    --color-text-heading: #EEEEEE;
    --color-primary: #374859;
    --color-secondary: #4FD1C5;
    --color-accent: #CB1237;
    --color-link: #4FD1C5;
    --color-link-hover: #38B2AC;
    --color-border: #2D3748;
}


/* --- General Styles --- */

* {
    box-sizing: border-box;
    border: 0px;
    margin: 0;
    padding: 0;
    text-decoration: none;
}

ul, ol {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

body {
    font-family: 'Open Sans', sans-serif;
    background: var(--color-bg);
    padding-top: 80px;
    color: var(--color-text);
    overflow-x: hidden;
}


#page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    opacity: 0;
    transition: opacity 0.5s ease;
}

    #page-wrapper.visible {
        opacity: 1;
    }

/* --- General Styles End --- */


/* --- 404 Page Design Start --- */

.error-container-unique {
    text-align: center;
    padding: 40px 20px;
    max-width: 450px;
    margin: 50px auto;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background-color: var(--color-surface);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* 404 Kod */
.error-code-unique {
    font-size: 72px;
    font-weight: bold;
    color: var(--color-accent);
    margin-bottom: 5px;
    line-height: 1;
}

.error-title-unique {
    font-size: 24px;
    color: var(--color-text);
    margin-top: 0;
    margin-bottom: 15px;
}


.error-text-unique {
    font-size: 16px;
    color: var(--color-text-muted);
    margin-bottom: 30px;
}


.error-graphic-unique {
    margin-bottom: 20px;
}

.error-icon-unique {
    width: 60px;
    height: 60px;
    display: block;
    margin: 0 auto;
    animation: iconWiggleUnique 1s ease-in-out infinite alternate;
}

@keyframes iconWiggleUnique {
    from {
        transform: rotate(-3deg);
    }

    to {
        transform: rotate(3deg);
    }
}

.error-actions-unique {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.error-btn-unique {
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.error-btn-primary-unique {
    background-color: var(--color-bg);
    color: var(--color-text);
}

    .error-btn-primary-unique:hover {
        background-color: var(--color-surface-hover);
        box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3);
    }

/* --- 404 Page Design End --- */


/* --- 500 Page Design Start --- */

.page-fault-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    padding: 20px;
}

.page-fault-container {
    background-color: var(--color-surface);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    text-align: center;
    max-width: 450px;
    width: 100%;
}

.page-fault-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--color-accent);
}

.page-fault-message {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-bottom: 25px;
    line-height: 1.5;
}

.page-fault-button {
    display: inline-block;
    background-color: var(--color-bg);
    color: var(--color-text);
    padding: 10px 22px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s ease;
}

    .page-fault-button:hover {
        background-color: var(--color-surface-hover);
        box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3);
    }

/* --- 500 Page Design End --- */


/* Not found Box Start */

.not-found-container {
    max-width: 600px;
    margin: 80px auto;
    padding: 40px 30px;
    border: 2px solid var(--color-border);
    border-radius: 12px;
    background-color: var(--color-surface);
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.not-found-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 15px;
}

.not-found-detail {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* Not found Box End */

/* --- Loader Start --- */

#loader {
    position: relative;
    width: 2.5em;
    height: 2.5em;
    transform: rotate(165deg);
}

    #loader.fade-out {
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.6s ease, visibility 0.6s;
    }

    #loader:before, #loader:after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        display: block;
        width: 0.5em;
        height: 0.5em;
        border-radius: 0.25em;
        transform: translate(-50%, -50%);
    }

    #loader:before {
        animation: before8 2s infinite;
    }

    #loader:after {
        animation: after6 2s infinite;
    }

@keyframes before8 {
    0% {
        width: 0.5em;
        box-shadow: 1em -0.5em #202932, -1em 0.5em #141C23;
    }

    35% {
        width: 2.5em;
        box-shadow: 0 -0.5em #2A3643, 0 0.5em #374859;
    }

    70% {
        width: 0.5em;
        box-shadow: -1em -0.5em #212C37, 1em 0.5em #2A3643;
    }

    100% {
        box-shadow: 1em -0.5em #36444DAA, -1em 0.5em #212C37;
    }
}

@keyframes after6 {
    0% {
        height: 0.5em;
        box-shadow: 0.5em 1em #2A3643, -0.5em -1em #374859;
    }

    35% {
        height: 2.5em;
        box-shadow: 0.5em 0 rgba(0,0,0,0.2), -0.5em 0 #212C37;
    }

    70% {
        height: 0.5em;
        box-shadow: 0.5em -1em #212C37, -0.5em 1em #36444DAA;
    }

    100% {
        box-shadow: 0.5em 1em #2D3748, -0.5em -1em #1E293B;
    }
}

#loader {
    position: absolute;
    top: calc(50% - 1.25em);
    left: calc(50% - 1.25em);
}

/* --- Loader End --- */


/* --- Header Start --- */

header {
    z-index: 999999;
    top: 0;
    position: fixed;
    width: 100%;
    border-bottom: 1px solid var(--color-border);
    background: var(--color-bg);
}


.topbar {
    height: 100px;
    max-width: 1200px;
    padding: 0px 64px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */

.logo {
    font-weight: 400;
    font-size: 1.3rem;
    color: var(--color-primary);
    font-family: "Edu NSW ACT Cursive", cursive;
    transition: color 0.2s ease-in-out;
}

    .logo:hover {
        color: var(--color-text-muted);
    }

@media (max-width: 576px) {
    .logo {
        font-size: 0.9rem;
		margin-right:10px;
    }
}

/* Theme */

.switch-container {
    position: absolute;
    right: 50px;
    display: inline-block;
    width: 3.5em;
    height: 2em;
    transition: transform 0.2s;
}

    .switch-container:hover {
        transform: translateY(-2px);
    }

@media (max-width: 1325px) {
    .switch-container {
        position: relative;
        right: 10px;
        height: 1.8em;
        width: 3.8em;
    }
}

.switch-container input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch-container .slider {
    background: var(--color-surface);
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: background-color 0.5s;
    border-radius: 30px;
}

    .switch-container .slider:before {
        position: absolute;
        content: "";
        height: 1.4em;
        width: 1.4em;
        border-radius: 50%;
        left: 10%;
        bottom: 15%;
        box-shadow: inset 15px -4px 0px 15px var(--color-primary);
        transition: transform 0.5s, box-shadow 0.5s;
    }

.switch-container input:checked + .slider:before {
    transform: translateX(100%);
    box-shadow: inset 8px -4px 0px 0px #f8f8f4;
}

.switch-container input:checked + .slider {
    background: linear-gradient(135deg, #374859, #202932);
}


.no-transition .switch-container .slider:before {
    transition: none !important;
}


/* Notification */

.actions {
    display: flex;
    align-items: center;
}

@media (max-width: 576px) {
    .actions .profile-btn {
        font-size: 0.8rem;
    }
}

.notification-container {
    padding: 20px;
}


.notification-wrapper {
    position: relative;
}

.notification-icon {
    width: 44px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: var(--color-primary);
    font-size: 24px;
    border-radius: 50%;
    transition: background-color 0.3s;
}

    .notification-icon:hover {
        background-color: var(--color-surface);
    }

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--color-accent);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    font-weight: bold;
}

.notification-dropdown {
    z-index: 1000;
    position: absolute;
    cursor: default;
    top: 100%;
    right: 0;
    width: 400px;
    background-color: var(--color-bg);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    margin-top: 10px;
    display: none;
    max-height: 400px;
    overflow-y: auto;
}

    .notification-dropdown.active {
        display: block;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dropdown Notification */
.empty-message {
    background-color: var(--color-bg);
    padding: 20px;
    text-align: center;
    color: var(--color-text-muted);
}


.dropdown-header {
    position: sticky;
    top: 0;
    padding: 15px;
    background-color: var(--color-bg);
    display: flex;
    border-bottom: 1px solid var(--color-border);
    justify-content: space-between;
    align-items: center;
}

    .dropdown-header h3 {
        margin: 0;
        color: var(--color-text);
    }

.dropdown-actions {
    display: flex;
    gap: 7px;
}

    .dropdown-actions button {
        padding: 5px 10px;
        border: none;
        border-radius: 4px;
        background-color: var(--color-primary);
        color: white;
        cursor: pointer;
        font-size: 12px;
        transition: background-color 0.3s;
    }

#markAllRead:hover {
    background-color: #212C37;
}


#deleteAll {
    background-color: var(--color-accent);
}

    #deleteAll:hover {
        background-color: #b31031;
    }

.notification-list {
    padding: 0;
}

.notification-item {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 1px solid silver;
    background-color: var(--color-bg);
    transition: background-color 0.3s;
}

    .notification-item:last-child {
        border-bottom: none;
    }

    .notification-item.unread {
        font-weight: bold;
        background-color: var(--color-bg);
    }

        .notification-item.unread:hover {
            background-color: var(--color-surface);
        }

.notification-content {
    flex: 1;
}

.notification-title {
    color: var(--color-text);
}

.notification-text {
    font-size: 14px;
    line-height: 1.4;
    color: var(--color-text);
    margin-top: 10px;
    margin-bottom: 7px;
}

.notification-date {
    font-size: 12px;
    color: var(--color-text-muted);
}

.delete-btn {
    background: none;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    padding: 5px;
    align-self: flex-start;
    transition: color 0.3s;
}

    .delete-btn:hover {
        color: var(--color-accent);
    }

@media (max-width: 680px) {
    .notification-dropdown {
        width: 320px;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        margin-top: 10px;
    }

    .profile-details-fullname {
        display: none;
    }
}

/* User Settings Dropdown */

.profile-dropdown {
    position: relative;
    display: inline-block;
    cursor: pointer;
    user-select: none;
}


.profile-btn {
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: linear-gradient(45deg, #0c0c0c 10%, var(--color-primary) 90%);
    border-radius: 10px;
    transition: all 0.25s ease-in-out;
}

    .profile-btn:hover {
        transform: translateY(-2px);
    }



.profile-details-fullname {
    color: white;
    font-weight: 500;
    font-size: 15px;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 120%;
    min-width: 180px;
    background: var(--color-surface);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    z-index: 100;
    animation: dropdownFade 0.25s ease;
}


    .dropdown-content.show {
        display: block;
    }


    .dropdown-content a {
        display: flex;
        align-items: center;
        gap: 10px;
        color: var(--color-text);
        padding: 12px 16px;
        font-size: 14px;
        transition: background 0.3s ease, color 0.3s ease;
    }

        .dropdown-content a:hover {
            background: var(--color-surface-hover);
        }

        .dropdown-content a i {
            font-size: 18px;
        }

    .dropdown-content .logout-link {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        color: #ff6666;
    }

    .dropdown-content form.logout-link button {
        all: unset;
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
        padding: 12px 16px;
        font-size: 14px;
        color: #ff6666;
        cursor: pointer;
        transition: background 0.3s ease, color 0.3s ease;
        text-align: left;
    }

        .dropdown-content form.logout-link button:hover {
            background: rgba(255, 100, 100, 0.15);
            color: #FF9999;
        }

    .dropdown-content .logout-link:hover {
        background: rgba(255, 100, 100, 0.15);
        color: #FF9999;
    }


@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Header End --- */


/* --- Hero Start --- */

.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 120px 20px 80px;
}

    .hero h1 {
        font-size: 3rem;
        font-weight: 700;
        letter-spacing: 3px;
        color: var(--color-primary);
        margin-bottom: 16px;
        text-transform: uppercase;
    }

    .hero .subtitle {
        font-size: 1.4rem;
        font-weight: 300;
        color: var(--color-text-muted);
    }

/* --- Hero End --- */


/* --- Navbar Start --- */

nav {
    background-color: var(--color-bg);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 0;
    height: 70px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: sticky;
    top: 100px;
    z-index: 1;
}

.nav-container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 64px;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    flex: 1;
    justify-content: space-between;
    margin: 0 -12px;
}

    .nav-links li:last-child {
        margin-left: auto;
    }

.nav-items {
    display: flex;
    cursor: default;
    align-items: center;
}

.nav-links li {
    margin: 0 12px;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
    padding: 10px 0;
    transition: all 0.2s ease;
    position: relative;
    font-size: 16px;
    white-space: nowrap;
}

    .nav-links a:hover {
        color: var(--color-secondary);
    }

    .nav-links a:after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: 0;
        left: 0;
        background-color: var(--color-secondary);
        transition: width 0.2s ease;
    }

    .nav-links a:hover:after {
        width: 100%;
    }

/* Search */

.search-container {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--color-surface);
    border-radius: 6px;
    padding: 8px 15px;
    transition: all 0.3s ease;
    margin-left: auto;
}

    .search-container:focus-within {
        background: var(--color-bg);
        box-shadow: 0 0 0 2px rgba(74, 125, 255, 0.2);
    }

.search-box {
    background: transparent;
    border: none;
    color: var(--color-text);
    padding: 5px 0;
    width: 300px;
    outline: none;
    font-size: 15px;
}

    .search-box::placeholder {
        color: var(--color-text-muted);
    }

.search-button {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--color-text-muted);
    transition: color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 5px;
}

    .search-button:hover {
        color: var(--color-primary);
    }

.search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--color-bg);
    border-radius: 0 0 6px 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    margin-top: 2px;
}

@media screen and (max-width: 900px) {
    .search-dropdown {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        border-radius: 0;
        box-shadow: 0 6px 12px rgba(0,0,0,0.15);
        z-index: 9999;
    }
}

.search-dropdown.active {
    display: block;
}

.search-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid var(--color-border);
    cursor: pointer;
    transition: background-color 0.2s;
}

    .search-item:last-child {
        border-bottom: none;
    }

    .search-item:hover {
        background-color: var(--color-surface);
    }

    .search-item img {
        width: 50px;
        height: 50px;
        object-fit: cover;
        border-radius: 4px;
        margin-right: 15px;
        flex-shrink: 0;
    }

    .search-item .text {
        flex-grow: 1;
        overflow: hidden;
    }

    .search-item .title {
        font-weight: 600;
        font-size: 15px;
        color: var(--color-text);
        margin-bottom: 4px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .search-item .snippet {
        font-size: 13px;
        color: var(--color-text);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

.no-result {
    color: var(--color-text);
    padding: 10px;
    z-index: 100000;
    text-align: center;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    position: absolute;
    right: 15px;
}

    .hamburger.active {
        background: var(--color-bg);
    }

    .hamburger div {
        width: 100%;
        height: 2px;
        background-color: var(--color-primary);
        border-radius: 2px;
        transition: all 0.3s ease;
    }

@media screen and (max-width: 900px) {
    .nav-container {
        flex-wrap: wrap;
        padding: 0 13px;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-bg);
        flex-direction: column;
        align-items: stretch;
        padding: 0 13px;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease-in-out;
        z-index: 100;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    }

        .nav-links.active {
            clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
            background-color: var(--color-bg);
        }

    .nav-items {
        flex-direction: column;
        width: 100%;
    }

    .nav-links li {
        margin: 0;
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        width: 100%;
        display: block;
        padding: 15px;
    }

    .search-container {
        margin: 15px auto;
        width: 80%;
        order: 1;
    }

    .search-box {
        width: 100%;
    }

    .hamburger {
        display: flex;
    }

        .hamburger.active div:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
        }

        .hamburger.active div:nth-child(2) {
            opacity: 0;
        }

        .hamburger.active div:nth-child(3) {
            transform: rotate(-45deg) translate(7px, -8px);
        }
}

/* --- Navbar End --- */


/* --- Category Menu Start --- */

.mega-parent {
    position: relative;
}

.mega-menu {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-bg);
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    min-width: 300px;
    z-index: 100;
}

.mega-parent:hover .mega-menu {
    opacity: 1;
    visibility: visible;
}

.mega-menu a {
    display: block;
    padding: 8px 12px;
    color: var(--color-text);
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.2s;
}

    .mega-menu a:hover {
        background-color: var(--color-bg);
        color: var(--color-secondary);
    }

@media screen and (max-width: 900px) {
    .nav-container {
        flex-wrap: wrap;
        padding: 0 20px;
    }
}

/* --- Category Menu End --- */


/* --- Slider Start --- */

.slideshow-container {
    max-width: 100%;
    width: 100%;
    position: relative;
    margin: auto;
    overflow: hidden;
}

.mySlides {
    display: none;
    position: relative;
}

    .mySlides img {
        width: 100%;
        height: 80vh;
        object-fit: cover;
    }

.slideshow-container .text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    max-width: 70%;
    padding: 20px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
}

    .slideshow-container .text h1 {
        font-size: 2.5rem;
        margin-bottom: 15px;
        font-weight: 700;
        letter-spacing: 1px;
    }

    .slideshow-container .text p {
        font-size: 1rem;
        margin-bottom: 20px;
        line-height: 1.6;
        color: white;
    }

.slider-btn {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #374859, #202932);
    color: white;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

    .slider-btn:hover {
        background: linear-gradient(135deg, #202932, #374859);
        transform: translateY(-3px);
    }

.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

/* Slider Buttons */

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 5px 3px;
    background-color: silver;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.dots {
    text-align: center;
}

.active,
.dot:hover {
    background-color: var(--color-secondary);
}

.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

@media only screen and (max-width: 300px) {
    .text {
        font-size: 11px;
    }
}

/* --- Slider End --- */


/* --- Blog Cards Start --- */

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 20px 64px;
}

.card {
    background: var(--color-surface);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blogcardsTitle {
    text-align: center;
    font-size: 2.8rem;
    color: var(--color-text);
    margin: 30px 0;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.15);
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-badge {
    width: fit-content;
    background: var(--color-primary);
    color: white;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 12px;
    margin-bottom: 12px;
}

.card-date {
    display: flex;
    gap: 5px;
}

    .card-date i {
        color: var(--color-text);
    }

.card-comment i {
    color: #4c6ef5;
}

.card-favorite i {
    color: #F59E0B;
}

.card-title {
    font-size: 1.3rem;
    padding-top: 10px;
    color: var(--color-text);
}

.card-text {
    font-size: 0.95rem;
    color: var(--color-text);
    margin-bottom: 16px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-footer {
    display: flex;
    gap: 15px;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

.read-more {
    align-self: flex-start;
    text-decoration: none;
    color: var(--color-link);
    font-weight: bold;
    transition: color 0.3s ease;
}

@media (max-width: 900px) {
    .cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .cards {
        grid-template-columns: 1fr;
    }
}

/* --- Blog Cards Pagination --- */

#pagination {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    gap: 8px;
}

    #pagination button {
        background-color: var(--color-surface);
        color: var(--color-text);
        border: none;
        padding: 8px 14px;
        border-radius: 5px;
        cursor: pointer;
        font-weight: bold;
        transition: all 0.2s ease-in-out;
    }

        #pagination button:hover {
            background-color: var(--color-primary);
            color: white;
            transform: scale(1.05);
        }

        #pagination button:focus {
            outline: none;
        }

        #pagination button.active {
            background-color: var(--color-link);
            color: white;
        }

@media (max-width: 500px) {
    #pagination button {
        padding: 6px 10px;
        font-size: 14px;
    }
}

/* --- Blog Cards End --- */


/* --- Text Slider Start --- */

.grid-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 64px;
    display: grid;
    grid-template-columns: 2fr 1fr; /* solda slider, sağda aside */
    gap: 40px;
    align-items: start;
}

    .grid-container > * {
        margin-top: 50px;
    }

.lastthreecomments-title {
    position: absolute;
    top: -70px;
    font-size: 2.8rem;
    text-align: center;
    color: var(--color-text)
}

@media (max-width: 600px) {
    .lastthreecomments-title {
        font-size: 2rem;
    }
}

@media (max-width: 1024px) {

    .grid-container {
        grid-template-columns: 1fr;
        padding: 0 32px;
    }

    .lastthreecomments-title {
        color: white;
        background: var(--color-primary);
        padding: 15px;
        border-radius: 10px;
        position: relative;
        top: 0;
        margin-bottom: 20px;
        font-size: 1.8rem;
    }
}

.left-slider {
    border-radius: 15px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
    background: radial-gradient(125% 125% at 50% 10%, #374859 10%, black 90%);
    color: white;
    width: 100%;
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-slider {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.quote-item {
    display: none;
    margin: 0 auto;
    animation: fadeSlideAnim 0.8s ease-in-out;
}

    .quote-item q {
        margin-top: 20px;
        font-size: 1.2em;
        display: block;
        color: var(--color-text-muted);
        margin-bottom: 12px;
        font-style: italic;
        line-height: 1.4;
    }

.quote-author {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin: 0;
    text-align: left;
}

@media (max-width: 1024px) {
    .grid-container {
        grid-template-columns: 1fr;
    }

    .left-slider {
        height: auto;
        padding: 30px 20px 40px;
    }

    .quote-item q {
        font-size: 0.8em;
    }

    .quote-author {
        font-size: 0.95em;
    }
}

@media (max-width: 576px) {

    .quote-item q {
        font-size: 0.7em;
    }

    .quote-author {
        font-size: 0.9em;
    }

    .tag-list span {
        font-size: 0.8em;
        padding: 4px 6px;
    }
}

.quote-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    color: white;
    background: linear-gradient(135deg, var(--color-primary) 65%, #100c0c 35%);
    font-size: 1rem;
}

.quote-meta {
    margin-top: 10px;
    margin-bottom: 12px;
    text-align: center;
}

.quote-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
}

.quote-date {
    margin-bottom: 4px;
    font-size: 1rem;
    color: var(--color-text-muted);
    font-style: italic;
}

.quote-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
    justify-content: center;
}


.commentlikescount {
    color: var(--color-text-muted);
    position: absolute;
    right: 30px;
    bottom: 30px;
}

    .commentlikescount i {
        color: var(--color-accent);
    }

.quote-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.quote-dot {
    height: 12px;
    width: 12px;
    margin: 0 4px;
    background-color: var(--color-text-muted);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

    .quote-dot.active,
    .quote-dot:hover {
        background-color: var(--color-secondary);
    }

.fade-slide {
    animation-name: fadeSlideAnim;
    animation-duration: 1s;
}

@keyframes fadeSlideAnim {
    from {
        opacity: .4;
    }

    to {
        opacity: 1;
    }
}
/* --- Text Slider End --- */


/* --- Aside Start --- */

.right-sidebar {
    margin-left: 30px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    border-radius: 15px;
    overflow: hidden;
}

@media(max-width:1024px) {
    .right-sidebar {
        margin-left: 0;
    }
}

.widget-box {
    background: var(--color-surface);
    padding: 20px;
}

    .widget-box a {
        color: var(--color-text);
        transition: color 0.2s ease-in-out;
    }

        .widget-box a:hover {
            color: var(--color-secondary);
        }

    .widget-box h3 {
        margin-top: 0;
    }

    .widget-box ul {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 0;
        margin: 0;
    }


.tag-list span {
    display: inline-block;
    padding: 5px 8px;
    margin: 3px;
    background-color: var(--color-surface);
    border: 1px solid;
    border-radius: 4px;
    font-size: 0.90em;
}

    .tag-list span a {
        color: var(--color-text);
    }


/* --- Aside End --- */


/* --- Footer Start --- */

.footer-container {
    width: 100%;
    background: linear-gradient(135deg, var(--color-primary) 75%, #202932 25%);
    color: white;
    padding: 40px 0;
}

.theUltimateFooter {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 64px 80px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 50px;
}

.navigationHub {
    margin-left: 64px;
}

.identityCapsule .nameTag {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 15px;
    color: white;
    font-family: "Edu NSW ACT Cursive", cursive;
    transition: color 0.3s ease-in-out;
}

    .identityCapsule .nameTag:hover {
        color: var(--color-text-muted);
        cursor: pointer;
    }

.bioText {
    font-size: 0.90rem;
    line-height: 1.6;
    color: white;
}

.sectionTitle {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: white;
    position: relative;
    padding-bottom: 8px;
}

    .sectionTitle::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 40px;
        height: 2px;
        background-color: var(--color-secondary);
    }

.menuItems {
    padding: 0;
    margin: 0;
    display: grid;
    gap: 15px;
    font-size: 0.90rem;
}

    .menuItems li {
        margin-bottom: 10px;
    }

    .menuItems a {
        color: white;
        text-decoration: none;
        transition: color 0.3s;
    }

        .menuItems a:hover {
            color: var(--color-secondary);
        }

.categoryGrid {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.socialIcons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.socialIcon {
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    color: black;
    text-decoration: none;
    font-weight: bold;
}

    .socialIcon:hover {
        background-color: var(--color-secondary);
        transform: translateY(-3px);
    }


@media (max-width: 768px) {
    .theUltimateFooter {
        gap: 30px;
    }

    .navigationHub {
        margin-left: 0;
    }

    .categoryGrid {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .theUltimateFooter {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .sectionTitle::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .socialIcons {
        justify-content: center;
    }
}

.footer-bar {
    width: 100%;
    background: var(--color-bg-secondary, #0f0f0f);
    color: var(--color-text-secondary, #ccc);
    text-align: center;
    padding: 10px 0;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
}

    .footer-bar a {
        color: var(--color-secondary);
        text-decoration: none;
        font-weight: 500;
    }

.footer-bottom-fullname {
    font-family: "Edu NSW ACT Cursive", cursive;
    font-size: 0.8rem;
}

.footer-bar a:hover {
    text-decoration: underline;
}

.footer-bar p {
    margin: 0;
}



/* --- Footer End --- */


/* --- Scroll Top Start --- */

#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: var(--color-primary);
    color: white;
    font-size: 18px;
    cursor: pointer;
    display: none;
    transition: background 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

    #backToTop:hover {
        background: #212C37;
    }

/* --- Scroll Top End --- */


/* --- Blogs List Design Start [CATEGORY] --- */

#btnContainer {
    display: flex;
    justify-content: flex-end;
    gap: 5px;
    margin: 10px 0;
}

.view-btn {
    padding: 8px 16px;
    border-radius: 4px;
    background-color: var(--color-surface);
    color: var(--color-text);
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

    .view-btn:hover {
        background-color: var(--color-secondary);
    }

    .view-btn.active {
        background-color: var(--color-secondary);
        color: var(--color-text);
    }

.grid-container-blogs {
    display: grid;
    grid-template-columns: 3fr 1fr;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 64px;
    gap: 40px;
}


@media (max-width: 992px) {
    .grid-container-blogs {
        grid-template-columns: 1fr;
    }
}

.cards-grid {
    display: grid;
    gap: 20px;
    transition: all 0.3s ease;
}


.grid-view {
    grid-template-columns: repeat(2, 1fr);
}


.list-view {
    grid-template-columns: 1fr;
}

.card-grid {
    border-radius: 8px;
    overflow: hidden;
    background: var(--color-surface);
    display: flex;
    flex-direction: column;
}

.blog-list .card-grid img.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-list .card-content {
    padding: 16px;
}

.bl-categoryname {
    color: var(--color-secondary);
}

.blog-list .card-badge {
    background: var(--color-primary);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.blog-list .card-title {
    margin: 8px 0;
}

.blog-list .card-footer {
    display: flex;
    justify-content: space-between;
    font-size: 0.9em;
    color: var(--color-text-muted);
}

.blog-list .read-more {
    margin-top: 10px;
    display: inline-block;
    color: var(--color-link);
    text-decoration: none;
}

    .blog-list .read-more:hover {
        color: var(--color-link-hover);
    }


@media (max-width: 768px) {
    .grid-view {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .grid-view {
        grid-template-columns: 1fr;
    }
}

/* --- Blogs List Design End [CATEGORY] --- */


/* --- Blog Details Design Start --- */

.detail-container {
    display: grid;
    grid-template-columns: 1fr;
    margin: auto;
}



.detail-content {
    background: var(--color-surface);
    max-width: 1200px;
    margin: 50px 0;
    padding: 0 64px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.detail-header {
    margin: 30px auto;
}

.blogreader-count {
    line-height: 1.8;
    font-weight: 500;
    margin-top: 10px;
    display: inline-flex;
    float: right;
    background: var(--color-surface-hover);
    color: var(--color-link);
    padding: 5px;
    border-radius: 10px;
}

.reader-inline-count {
    font-weight: bold;
}

.detail-category {
    background: var(--color-primary);
    color: white;
    font-size: 13px;
    padding: 5px 12px;
    border-radius: 20px;
    text-transform: uppercase;
}

.detail-title {
    font-size: 28px;
    margin: 15px 0;
    color: var(--color-text);
}

.detail-meta {
    font-size: 14px;
    color: var(--color-text-muted);
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
}

.meta-date a {
    color: var(--color-text);
}

.meta-date i {
    color: var(--color-text);
}

.meta-author i {
    color: var(--color-secondary);
}

.writer-box-container {
    margin-top: 15px;
    display: block;
    justify-content: center;
}

.writer-card-panel {
    display: flex;
    align-items: center;
    max-width: 250px;
    height: 80px;
    background: var(--color-bg);
    border-radius: 10px;
    padding: 12px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .writer-card-panel:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(0,0,0,0.35);
    }

.writer-avatar-frame img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.writer-info-section {
    gap: 4px;
    margin-left: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.writer-title-label {
    font-size: 0.95rem;
    color: var(--color-secondary);
}

.writer-social-links {
    display: flex;
    gap: 8px;
}

.writer-social-button {
    color: var(--color-text);
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

    .writer-social-button:hover {
        color: var(--color-secondary);
    }

.detail-image {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

    .detail-image img {
        border-radius: 12px;
        margin: 20px 0;
        max-width: 100%;
        height: auto;
        display: block;
    }

.detail-body {
    max-width: 100%;
    width: 100%;
}

    .detail-body ul,
    .detail-body ol {
        list-style: disc !important;
        margin: 1em 0;
        padding-left: 20px;
    }

    .detail-body h1 {
        font-size: 2.3em;
        color: var(--color-link);
        line-height: 1.1;
    }

    .detail-body h2 {
        font-size: 1.6em;
        color: var(--color-link);
        line-height: 1.2;
    }

    .detail-body h3 {
        font-size: 1.1em;
        color: var(--color-text-heading);
        line-height: 1.3;
    }

    .detail-body p {
        font-size: clamp(14px, 1.2vw, 18px);
        margin: 1.1em 0;
        line-height: 1.6;
        text-indent: 1.5em;
        color: var(--color-text-blog);
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    .detail-body img:not(.writer-avatar) {
        width: 60% !important;
        border: 2px var(--color-text-muted) solid;
        border-radius: 10px;
        height: auto;
        margin: auto;
        display: block;
    }


.favoriteblog {
    margin-left: auto;
    margin-top: 25px;
    cursor: pointer;
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    border-radius: 9px;
    background: linear-gradient(135deg, #374859, #202932);
    color: white;
    width: 180px;
    padding: 15px;
    transition: transform 0.3s ease-in-out;
}

    .favoriteblog:hover {
        background: linear-gradient(135deg, #202932, #374859);
        transform: translateY(-3px);
    }

        .favoriteblog:hover i {
            color: crimson;
        }


@media (max-width: 768px) {
    .detail-container {
        padding: 0 30px;
        margin: 30px auto;
    }

    .detail-content {
        padding: 20px;
    }

    .detail-title {
        font-size: 24px;
        margin: 10px 0;
    }

    .blogreader-count {
        float: none;
        display: block;
        margin-top: 15px;
        width: 100%;
        text-align: center;
    }

    .detail-meta {
        flex-direction: column;
        gap: 5px;
        margin-top: 15px;
    }

    .detail-image img {
        margin: 15px 0;
    }
}


@media (max-width: 500px) {
    .detail-container {
        padding: 0 15px;
    }

    .detail-content {
        padding: 15px;
        border-radius: 8px;
    }

    .detail-title {
        font-size: 20px;
    }

    .detail-category {
        font-size: 11px;
        padding: 4px 10px;
    }

    .detail-meta {
        font-size: 13px;
    }

    .favoriteblog {
        width: 100%;
        margin-top: 20px;
    }
}

/* Comments Side */

.container-comments {
    margin: 0 auto;
    background: var(--color-surface);
    margin: 40px 0;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.comments-header {
    display: flex;
    align-items: center;
    padding: 20px;
}

.no-comment {
    padding: 20px;
}

.no-comment-text {
    color: var(--color-text);
}

.comments-header h3 {
    font-size: 1.5rem;
    color: var(--color-text);
    font-weight: 600;
}

.comments-count {
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 12px;
    font-size: 0.9rem;
}

.comment-list {
    padding: 0 20px;
}

.comment-item {
    display: flex;
    padding: 25px 0;
    border-bottom: 1px solid var(--color-border);
}

    .comment-item:last-child {
        border-bottom: none;
    }

.avatar-comment {
    margin-right: 20px;
    border: 2px solid white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    display: inline-block;
}

    .avatar-comment img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.user-avatar {
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    color: white;
    background: linear-gradient(135deg, var(--color-primary) 65%, #100c0c 35%);
    font-weight: bold;
    align-items: center;
    border-radius: 50%;
    margin-right: 20px;
    border: 2px solid white;
}

.comment-content {
    flex-grow: 1;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: 600;
    color: var(--color-text);
    font-size: 1.1rem;
}

.comment-date {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    margin-top: 3px;
}

.comment-kurucu {
    display: flex;
    align-items: center;
    font-weight: 500;
    justify-content: center;
    background: var(--color-secondary);
    color: black;
    border-radius: 10px;
    padding: 4px;
    font-size: 0.7rem;
    margin-top: 3px;
}

.comment-admin {
    display: flex;
    font-weight: 500;
    align-items: center;
    justify-content: center;
    background: var(--color-accent);
    color: black;
    border-radius: 10px;
    padding: 4px;
    font-size: 0.7rem;
    margin-top: 3px;
}

.comment-text {
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: 15px;
}

.comment-actions {
    display: flex;
    position: relative;
    gap: 15px;
}

.action-menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text-muted);
    font-size: 1.2rem;
    padding: 4px;
}

.action-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: var(--color-bg);
    border: 3px solid var(--color-border);
    border-radius: 8px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
    z-index: 5;
    min-width: 130px;
    min-width: 160px;
    overflow: hidden;
}

@media (max-width: 600px) {

    .comment-actions {
        position: relative;
    }

    .action-menu {
        position: absolute;
        left: 10px;
        right: 0;
        top: 100%;
    }
}



.action-comments {
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s;
}

    .action-comments:hover {
        color: var(--color-accent);
    }

.action-menu .action-comments {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    font-size: 0.95rem;
    color: var(--color-text);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
    width: 100%;
}

    .action-menu .action-comments:hover {
        background: var(--color-surface-hover);
    }



/* Like Comment Start */

.container-commentlike {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    font-size: 16px;
    user-select: none;
    transition: 100ms;
}

    .container-commentlike input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }

.checkmark-commentlike {
    display: inline-block;
    top: 0;
    left: 0;
    height: 1.4em;
    width: 1.4em;
    transition: 100ms;
    animation: dislike_effect 400ms ease;
}

    .checkmark-commentlike svg {
        width: 100%;
        height: 100%;
    }

    .checkmark-commentlike path {
        stroke: var(--color-text-muted);
    }

.container-commentlike input:checked ~ .checkmark-commentlike path {
    fill: #FF5353;
    stroke-width: 0;
}

.container-commentlike input:checked ~ .checkmark-commentlike {
    animation: like_effect 400ms ease;
}

.like-count {
    font-weight: lighter;
    font-size: 0.9em;
    color: var(--color-text-muted);
    position: relative;
    padding-left: 5px;
    transition: color 0.2s;
}

@keyframes like_effect {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes dislike_effect {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

/* Like Comment End */


/* Update Comment Modal */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

#editCommentModal {
    display: none;
}

.modal-content {
    background: var(--color-bg);
    padding: 20px;
    border-radius: 8px;
    width: 400px;
    max-width: 90%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    position: relative;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.2rem;
    cursor: pointer;
}

#editCommentText {
    background-color: var(--color-surface);
    color: var(--color-text);
    width: 100%;
    min-height: 120px;
    font-size: 1.2em;
    max-height: 200px;
    resize: vertical;
    padding: 10px;
    margin-top: 10px;
    border-radius: 6px;
    border: 2px solid var(--color-border);
}

.btn-save {
    margin-top: 15px;
    background: var(--color-primary);
    color: white;
    padding: 8px 15px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

    .btn-save:hover {
        background: #2D3A49;
    }


@media (max-width: 600px) {
    .comment-item {
        flex-direction: column;
    }

    .user-avatar {
        margin-bottom: 15px;
        margin-right: 0;
    }

    .comment-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .comment-date {
        margin-top: 5px;
    }
}

/*--- Add Comment Side ---*/

.container-addcomments {
    margin: 30px auto;
    background: var(--color-surface);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.comment-form-container {
    margin-top: 40px;
}

.comment-form-header {
    display: flex;
    align-items: center;
    padding: 20px;
}

    .comment-form-header h3 {
        font-size: 1.5rem;
        color: var(--color-text);
        font-weight: 600;
    }

.comment-form {
    background: none;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

    .comment-form .form-group {
        margin-bottom: 20px;
    }

        .comment-form .form-group textarea {
            color: var(--color-text);
            width: 100%;
            padding: 15px;
            border: 1px solid white;
            border-radius: 8px;
            font-size: 1rem;
            transition: all 0.3s ease;
            background: var(--color-bg);
        }

.form-group textarea::placeholder {
    color: var(--color-text-muted);
}

.comment-form .form-group textarea:focus {
    outline: none;
    border-color: var(--color-border);
    box-shadow: 0 0 0 3px rgba(76, 110, 245, 0.15);
}

.comment-form .form-group textarea {
    min-height: 200px;
    max-height: 300px;
    resize: vertical;
}

.submit-btn {
    background: var(--color-primary);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}


.login-prompt {
    text-align: center;
    padding: 25px;
    background: var(--color-surface);
    border-radius: 10px;
    color: var(--color-text);
    font-size: 1.05rem;
}

    .login-prompt a {
        color: #4c6ef5;
        text-decoration: none;
        font-weight: 600;
    }

        .login-prompt a:hover {
            text-decoration: underline;
        }


@media (max-width: 600px) {
    container-addcomments {
        padding: 20px;
    }

    .comment-form {
        padding: 20px;
    }
}

/* --- Blog Details Design End --- */


/* --- My Favorites Start --- */

.favorites-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 64px;
}

    .favorites-grid > * {
        margin-top: 50px;
    }


.favorite-card {
    display: flex;
    flex-direction: column;
    background: var(--color-surface);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.favorite-cards {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.favorite-card:hover {
    background: var(--color-surface-hover);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}


.favorite-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}


.favorite-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}


.favorite-category {
    display: inline-block;
    background-color: var(--color-secondary);
    padding: 4px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    color: black;
    text-transform: uppercase;
    align-self: flex-start;
}


.favorite-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

    .favorite-title:hover {
        color: var(--color-secondary);
    }


.favorite-summary {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}


.favorite-meta {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: var(--color-muted);
}

    .favorite-meta i {
        margin-right: 5px;
        color: var(--color-secondary);
    }


.favorite-actions {
    margin-top: 10px;
}

.btn-unfavorite {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    font-size: 0.9rem;
    color: white;
    background: var(--color-accent);
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

    .btn-unfavorite:hover {
        background: #CB1237;
        color: white;
    }


.no-favorites {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
    color: var(--color-text-muted);
}

.no-fav-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}


@media screen and (max-width: 1024px) {
    .favorites-grid {
        grid-template-columns: 2fr 1fr;
        padding: 0 32px;
    }
}

@media screen and (max-width: 768px) {
    .favorites-grid {
        grid-template-columns: 1fr;
        padding: 0 16px;
    }
}

/* --- My Favorites End --- */


/* --- Most Favorited Blogs & Most Viewed Blogs Start --- */

.popular-section {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 64px;
}

    .popular-section h1 {
        text-align: center;
        font-size: 2.8rem;
        margin-bottom: 10px;
        color: var(--color-text);
    }

    .popular-section p.tagline {
        text-align: center;
        font-size: 1.1rem;
        color: var(--color-text-muted);
        margin-bottom: 40px;
    }

.panel-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.blog-panel {
    position: relative;
    background-color: var(--color-surface);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

    .blog-panel:hover {
        transform: translateY(-7px);
        box-shadow: 0 18px 35px rgba(0,0,0,0.15);
    }

.panel-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.blog-info {
    padding: 16px;
    min-height: 120px;
    flex-grow: 1;
}

    .blog-info h2 {
        font-size: 1.25rem;
        margin: 0 0 8px;
        color: var(--color-text);
    }

    .blog-info p {
        font-size: 0.95rem;
        color: var(--color-text-muted);
        line-height: 1.4;
        max-height: 4.2em;
        overflow: hidden;
        text-overflow: ellipsis;
        margin-bottom: 0;
    }

.blog-tags {
    margin-top: 8px;
}

    .blog-tags span {
        display: inline-block;
        background-color: var(--color-tag);
        color: black;
        font-size: 0.75rem;
        padding: 3px 7px;
        margin-top: 5px;
        border-radius: 12px;
        margin-right: 5px;
    }

.blog-meta {
    display: flex;
    justify-content: space-between;
    padding: 0 16px 16px;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

    .blog-meta span {
        display: flex;
        align-items: center;
    }

    .blog-meta i {
        margin-left: 3px;
    }

.meta-favorite i {
    color: #F59E0B;
}

.meta-comment i {
    color: #4C6EF5;
}


@media (max-width: 1200px) {
    .popular-section {
        padding: 0 30px;
    }
}

@media (max-width: 1024px) {
    .panel-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}


@media (max-width: 768px) {
    .panel-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 600px) {
    .popular-section {
        padding: 0 15px;
        margin: 30px auto;
    }

        .popular-section h1 {
            font-size: 2rem;
        }

        .popular-section p.tagline {
            font-size: 1rem;
            margin-bottom: 25px;
        }

    .panel-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .panel-image {
        height: 130px;
    }

    .blog-info h2 {
        font-size: 1.15rem;
    }

    .blog-info p {
        font-size: 0.9rem;
    }
}

/* --- Most Favorited End --- */


/* --- About Start --- */

.about-grid {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 64px;
    display: grid;
    grid-template-columns: 1.1fr 1.4fr;
    gap: clamp(20px, 3.5vw, 48px);
    align-items: start;
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

.about-media {
    width: 100%;
}

.about-image-wrap {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 20px;
    border: 2px solid var(--color-border);
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s ease;
}

.about-image-wrap:hover .about-image {
    transform: scale(1.035);
}

.about-content {
    max-width: 720px;
}

.about-eyebrow {
    display: inline-block;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--color-text);
    background: var(--color-surface);
    border-radius: 999px;
    padding: 6px 12px;
    margin-bottom: 10px;
}

.about-title {
    font-size: clamp(1.6rem, 2.7vw, 2.4rem);
    line-height: 1.2;
    margin: 6px 0 14px;
    color: var(--color-text);
}

.about-text {
    color: var(--color-text);
    font-size: 1.02rem;
    line-height: 1.7;
    margin: 0 0 12px;
}

.about-text-muted {
    color: var(--color-text-muted);
}

/* Author Card */

.author-card {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 28px;
    padding: 16px 20px;
    background: var(--color-surface);
    border: 2px solid var(--color-border);
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(2,6,23,.06);
    transition: transform .25s ease;
}

    .author-card:hover {
        transform: translateY(-4px);
    }

.author-card-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
}

.author-card-info {
    flex: 1;
}

.author-card-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 4px;
    color: var(--color-text);
}

.author-card-role {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-secondary);
    margin: 0 0 6px;
}

.author-card-bio {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin: 0 0 10px;
}


.social-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg);
    color: var(--color-text);
    font-size: 14px;
    transition: all 0.3s ease;
}

    .social-btn:hover {
        background: var(--color-surface);
        color: var(--color-secondary);
    }

/* --- About End --- */


/* --- Contact Start --- */

.contact-page {
    margin-top: 60px;
    color: var(--color-text);
    padding: 0 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.contact-page-container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1200px;
    background: var(--color-surface);
    border-radius: 12px;
    overflow: hidden;
}


.contact-page-left {
    flex: 1;
    min-width: 340px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .contact-page-left h2 {
        margin-bottom: 25px;
        color: var(--color-text);
        font-size: 1.6rem;
    }

    .contact-page-left form {
        display: flex;
        flex-direction: column;
        gap: 18px;
    }

.contact-page-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-textarea {
    resize: vertical;
    max-height: 300px;
}

.contact-page-form-group label {
    font-weight: 600;
    font-size: 0.95rem;
}

.contact-page-form-group input,
.contact-page-form-group textarea {
    line-height: 1.6em;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1.5px solid var(--color-border);
    background: var(--color-bg);
    color: var(--color-text);
    font-size: 0.95rem;
    transition: border-color 0.2s ease;
}

    .contact-page-form-group input:focus,
    .contact-page-form-group textarea:focus {
        border-color: var(--color-link);
        outline: none;
    }

.contact-page-recaptcha {
    display: flex;
    flex-direction: column;
    gap: 8px;
}


.contact-page-btn {
    align-self: flex-start;
    background: linear-gradient(135deg, #374859, #202932);
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
}

    .contact-page-btn:hover {
        background: linear-gradient(135deg, #202932, #374859);
        transform: translateY(-2px);
    }

/* Right Map */
.contact-page-right {
    flex: 1;
    min-width: 340px;
}

    .contact-page-right iframe {
        width: 100%;
        height: 100%;
        min-height: 400px;
        border: 0;
    }


.contact-page-info {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1200px;
    margin-top: 40px;
    margin-bottom: 80px;
    gap: 20px;
    text-align: center;
    color: var(--color-text);
}

.contact-page-info-item {
    flex: 1;
    min-width: 200px;
}

    .contact-page-info-item a {
        cursor: pointer;
        color: var(--color-secondary);
        transition: 0.25s ease-in-out;
    }

.contact-page-icon {
    background: var(--color-surface);
    color: var(--color-text);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 10px auto;
    font-size: 1.3rem;
}


@media (max-width: 768px) {
    .contact-page {
        padding: 0 32px;
    }

    .contact-page-container {
        flex-direction: column;
    }

    .contact-page-left,
    .contact-page-right {
        padding: 24px;
    }

        .contact-page-right iframe {
            min-height: 300px;
        }

    .contact-page-info {
        padding: 0 32px;
    }
}

/* --- Contact End --- */


/* --- User Settings Start --- */

.settings-container {
    background-color: var(--color-surface);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    max-width: 850px;
    width: 90%;
    margin: 50px auto;
    overflow: hidden;
    padding-bottom: 30px;
}



.profile-avatar {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 25px;
}

.avatar-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary) 65%, #100c0c 35%);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 36px;
    font-weight: bold;
    text-transform: uppercase;
}

.tabs {
    display: flex;
    background-color: var(--color-surface);
    border-bottom: 2px solid var(--color-border);
}

.tab {
    padding: 16px 22px;
    cursor: pointer;
    font-weight: 600;
    color: var(--color-text);
    text-align: center;
    flex: 1;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

    .tab.active {
        color: var(--color-secondary);
        border-bottom: 3px solid var(--color-secondary);
        background-color: var(--color-surface);
        box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    }

.tab-content {
    padding: 30px 25px;
    background: var(--color-surface);
}

.tab-pane {
    display: none;
    background-color: var(--color-bg);
    border-radius: 15px;
    padding: 20px;
}

    .tab-pane.active {
        display: block;
    }

.settings-title {
    color: var(--color-text);
    margin-bottom: 25px;
    font-size: 24px;
    padding: 20px;
    border-bottom: 1px solid var(--color-border);
}


.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    background-color: var(--color-bg);
    padding: 15px;
}

.password-form {
    grid-template-columns: 1fr;
}

.profile-form .input-group {
    display: flex;
    flex-direction: column;
}

.input-label {
    margin-bottom: 6px;
    font-weight: 500;
    color: var(--color-text-muted);
    font-size: 14px;
}

.input-icon {
    position: relative;
}

    .input-icon i:not(:last-child) {
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--color-link);
        font-size: 16px;
    }

.input-field {
    color: var(--color-text);
    background-color: var(--color-surface);
    width: 100%;
    padding: 10px 40px 10px 35px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.input-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.input-field:focus {
    outline: none;
    border-color: var(--color-link-hover);
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.2);
}

.save-button {
    grid-column: 1 / -1;
    padding: 14px 28px;
    margin-top: 40px;
    background: linear-gradient(135deg, #374859, #202932);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .save-button:hover {
        background: linear-gradient(135deg,#202932,#374859);
        transform: translateY(-3px);
    }

@media (max-width: 768px) {
    .settings-container {
        width: 100%;
        margin: 20px auto;
        border-radius: 0;
        box-shadow: none;
    }

    .tabs {
        flex-direction: column;
    }

    .tab {
        padding: 12px 15px;
        font-size: 15px;
    }

    .tab-content {
        padding: 15px 15px;
    }

    .tab-pane {
        padding: 15px;
    }

    .settings-title {
        font-size: 20px;
        padding: 15px 0;
        margin-bottom: 15px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        padding: 10px;
        gap: 15px;
    }

    .input-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .save-button {
        margin-top: 20px;
        padding: 12px 20px;
    }
}


@media (max-width: 480px) {
    .settings-container {
        margin: 10px auto;
        padding-bottom: 20px;
    }

    .avatar-placeholder {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }

    .tab-content {
        padding: 10px;
    }
}
/* --- User Settings End --- */


/*--- Login Start ---*/

.login-body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-color: transparent;
    background-image: radial-gradient(#FFFFFF 1px, #212C37 1px);
    background-size: 30px 30px;
}

.login-wrapper {
    width: 90%;
    max-width: 900px;
    height: auto;
    min-height: 500px;
    display: grid;
    grid-template-columns: 1.5fr 2.5fr;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    overflow: hidden;
    background: #FFFFFF;
}

.login-sidebar {
    background-color: var(--color-primary);
    color: #FFFFFF;
    padding: 50px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

    .login-sidebar h1 {
        font-size: clamp(30px, 5vw, 50px);
        font-weight: 400;
        margin-bottom: 20px;
        font-family: "Edu NSW ACT Cursive", cursive;
    }

    .login-sidebar p {
        font-size: 16px;
        line-height: 1.6;
        max-width: 300px;
        margin: 0 auto;
    }


.login-main {
    padding: 50px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-form {
    width: 100%;
    max-width: 380px;
    display: flex;
    flex-direction: column;
}

    .login-form h2 {
        margin-bottom: 25px;
        color: var(--color-primary);
        font-size: 28px;
    }

.lgx-group {
    position: relative;
    margin-bottom: 20px;
}

.lgx-input {
    border: solid 1.5px silver;
    border-radius: 8px;
    background: none;
    padding: 1rem;
    font-size: 0.9rem;
    width: 100%;
    color: black;
    transition: border 150ms cubic-bezier(0.4,0,0.2,1);
}

.login-recaptcha {
    margin: 8px 0;
}

.lgx-label {
    position: absolute;
    left: 15px;
    color: var(--color-text-muted);
    pointer-events: none;
    transform: translateY(1rem);
    transition: 150ms cubic-bezier(0.4,0,0.2,1);
    background-color: white;
    padding: 0 .2em;
    border-radius: 3px;
    z-index: 10;
}

.lgx-input:focus,
.lgx-input:valid {
    outline: none;
    border: 1.5px solid var(--color-secondary);
}

    .lgx-input:focus ~ .lgx-label,
    .lgx-input:valid ~ .lgx-label {
        transform: translateY(-50%) scale(0.8);
        color: var(--color-secondary);
    }

.lgx-password-wrapper {
    position: relative;
    width: 100%;
}

#togglePassword-button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: none;
    cursor: pointer;
    font-size: 16px;
    color: var(--color-text-muted);
    padding: 5px;
}

.login-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    margin-bottom: 20px;
    gap: 10px;
}

    .login-options a {
        color: var(--color-primary);
        transition: color 0.3s;
    }

        .login-options a:hover {
            text-decoration: underline;
        }

.cyberpunk-checkbox {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #30cfd0;
    border-radius: 5px;
    background-color: transparent;
    display: inline-block;
    position: relative;
    margin-right: 10px;
    cursor: pointer;
}

    .cyberpunk-checkbox:before {
        content: "";
        background-color: var(--color-secondary);
        display: block;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(0);
        width: 10px;
        height: 10px;
        border-radius: 3px;
        transition: all 0.3s ease-in-out;
    }

    .cyberpunk-checkbox:checked:before {
        transform: translate(-50%, -50%) scale(1);
    }

.cyberpunk-checkbox-label {
    font-size: 13px;
    color: var(--color-text);
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
}

.login-btn {
    padding: 12px;
    background: linear-gradient(135deg, #374859, #202932);
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

    .login-btn:hover {
        background: linear-gradient(135deg, #202932, #374859);
    }

.signup-link {
    margin-top: 20px;
    text-align: center;
    font-size: 13px;
    color: var(--color-primary);
}

    .signup-link a {
        color: var(--color-secondary);
        font-weight: bold;
        transition: color 0.3s;
    }

        .signup-link a:hover {
            text-decoration: underline;
        }


@media (max-width: 900px) {
    .login-wrapper {
        grid-template-columns: 1fr;
        max-width: 500px;
        min-height: auto;
    }

    .login-sidebar {
        order: -1;
        padding: 30px 20px;
    }

        .login-sidebar h1 {
            font-size: 36px;
            margin-bottom: 10px;
        }

        .login-sidebar p {
            font-size: 14px;
            max-width: 100%;
        }

    .login-main {
        padding: 40px 30px;
    }

    .login-form {
        max-width: 100%;
    }
}

@media (max-width: 500px) {
    .login-body {
        padding: 10px;
    }

    .login-wrapper {
        width: 100%;
        border-radius: 0;
        box-shadow: none;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
    }

    .login-sidebar {
        padding: 20px 15px;
    }

    .login-main {
        padding: 20px 15px;
        flex-grow: 1;
        align-items: flex-start;
    }

    .login-options {
        flex-direction: column;
        align-items: flex-start;
    }
}

/*--- Login End ---*/


/*--- Register Start ---*/

.register-body {
    background-color: transparent;
    background-image: radial-gradient(#FFFFFF 1px, #212C37 1px);
    background-size: 30px 30px;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}


.register-wrapper {
    background-color: #FFFFFF;
    width: 90%;
    max-width: 900px;
    height: auto;
    min-height: 500px;
    display: grid;
    grid-template-columns: 1.5fr 2.5fr;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    overflow: hidden;
}

.register-sidebar {
    background-color: var(--color-primary);
    color: #FFFFFF;
    padding: 50px 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: center;
}

    .register-sidebar h1 {
        font-size: clamp(30px, 5vw, 50px);
        font-weight: 400;
        margin-bottom: 20px;
        font-family: "Edu NSW ACT Cursive", cursive;
    }

    .register-sidebar p {
        font-size: 16px;
        line-height: 1.6;
        max-width: 300px;
        margin: 0 auto;
    }


.register-main {
    padding: 50px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.register-btn {
    padding: 12px;
    background: linear-gradient(135deg, #374859, #202932);
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 10px;
}

.register-recaptcha {
    margin: 8px 0;
}


.register-btn:hover {
    background: linear-gradient(135deg, #202932, #374859);
}

.password-info {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-top: 5px;
}


.login-link {
    margin-top: 20px;
    text-align: center;
    font-size: 13px;
}

    .login-link a {
        color: var(--color-secondary);
        font-weight: bold;
        transition: color 0.3s;
    }

        .login-link a:hover {
            text-decoration: underline;
        }


@media (max-width: 900px) {
    .register-wrapper {
        grid-template-columns: 1fr;
        max-width: 500px;
        min-height: auto;
        margin: 0 auto;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        border-radius: 10px;
    }

    .register-body {
        align-items: flex-start;
    }

    .register-sidebar {
        order: -1;
        padding: 30px 20px;
    }

        .register-sidebar h1 {
            font-size: 36px;
            margin-bottom: 10px;
        }

        .register-sidebar p {
            font-size: 14px;
            max-width: 100%;
        }

    .register-main {
        padding: 40px 30px;
        align-items: flex-start;
    }
}

@media (max-width: 500px) {
    .register-body {
        padding: 10px;
        align-items: flex-start;
    }

    .register-wrapper {
        width: 100%;
        border-radius: 0;
        box-shadow: none;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
    }

    .register-sidebar {
        padding: 20px 15px;
    }

    .register-main {
        padding: 20px 15px;
        flex-grow: 1;
        align-items: flex-start;
    }
}

/* Kvkk Label Start*/

.bp-checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 20px;
    font-family: 'Open Sans' sans-serif;
    font-size: 14px;
    color: var(--color-text-muted);
}

.bp-checkbox-input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--color-secondary);
    cursor: pointer;
}

.bp-checkbox-label {
    display: inline-block;
    line-height: 1.5;
}

    .bp-checkbox-label a.bp-checkbox-link {
        color: var(--color-primary);
    }

        .bp-checkbox-label a.bp-checkbox-link:hover {
            color: var(--color-text-muted);
            text-decoration: none;
        }
/* Kvkk Label End */

/*--- Register End ---*/

/* Validation Message Start */

.validation-message {
    display: none;
    opacity: 1;
    transition: opacity 0.5s ease;
    color: var(--color-secondary);
    padding: 5px 0;
}

/* Validation Message End */


/* Message To User Start */

.snackbar-success-message,
.snackbar-error-message {
    z-index: 99999;
    visibility: hidden;
    min-width: 250px;
    color: white;
    text-align: center;
    border-radius: 8px;
    padding: 16px 24px;
    position: fixed;
    left: 50%;
    bottom: 30px;
    font-size: 17px;
    transform: translateX(-50%);
    transition: opacity 0.3s ease, bottom 0.3s ease;
}

.snackbar-success-message {
    background: linear-gradient(135deg, #374859 75%, #202932 25%);
}

.snackbar-error-message {
    background: linear-gradient(135deg, var(--color-accent) 75%, #100c0c 25%);
}

    .snackbar-error-message a,
    .snackbar-success-message a {
        font-size: 13px;
        font-weight: bold;
        color: var(--color-primary);
    }

    .snackbar-success-message.show,
    .snackbar-error-message.show {
        visibility: visible;
        -webkit-animation: fadein 0.5s, fadeout 0.5s 5s;
        animation: fadein 0.5s, fadeout 0.5s 5s;
    }

@-webkit-keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

/* Message To User End */


/* KVKK Start */

.bp-kvkk-container {
    max-width: 800px;
    margin: 60px auto;
    background-color: var(--color-surface);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    font-family: 'Open Sans', sans-serif;
    color: var(--color-text);
}

.bp-kvkk-header {
    background-color: var(--color-primary);
    color: white;
    padding: 24px 40px;
    font-size: 24px;
    font-weight: bold;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    text-align: center;
}

.bp-kvkk-content {
    padding: 40px 30px;
    line-height: 1.6;
}

    .bp-kvkk-content h3 {
        color: var(--color-link);
        margin-top: 30px;
        margin-bottom: 15px;
    }

    .bp-kvkk-content ul {
        list-style: none;
        padding-left: 20px;
    }

        .bp-kvkk-content ul li::before {
            content: "•";
            color: var(--color-link);
            display: inline-block;
            width: 1em;
            margin-left: -1em;
        }


.bp-kvkk-footer {
    background-color: var(--color-surface-hover);
    padding: 20px;
    text-align: center;
    font-size: 12px;
    color: var(--color-text-muted);
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.bp-kvkk-content a {
    color: var(--color-link);
    text-decoration: underline;
}

/* KVKK End */
