    @import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap');

    * {
        -webkit-tap-highlight-color: transparent;
    }
    ::selection {
        background-color: #6366f1;
        color: #ffffff;
    }
    body {
        font-family: 'Open Sans', sans-serif !important;
        background-color: #0d1116;
        color: #ffffff;
        margin: 0;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        padding: 0px;
    }
    zf {
        font-family: 'zen-icons';
        speak: never;
        font-style: normal;
        font-weight: normal;
        font-variant: normal;
        text-transform: none;
        line-height: 1;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    .icon {
        width: 1em;
        height: 1em;
        display: inline-block;
        vertical-align: -0.125em;
        fill: currentColor;
    }
    header {
        width: 100%;
        max-width: 1280px;
        margin: 0 auto;
        padding: 0 25px;
        box-sizing: border-box;
        margin-top: 80px;
    }
    body.modal-open {
        overflow: hidden !important;
    }
    header h1 {
        font-size: 2.5em;
        font-weight: bold;
        color: #fff;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 15px;
    }
    ::-webkit-scrollbar {
        width: 10px;
        height: 10px;
    }
    ::-webkit-scrollbar-track {
        background: #0d1116;
    }
    ::-webkit-scrollbar-thumb {
        background-color: #374151;
        border: 2px solid #0d1116;
        border-radius: 0px;
        transition: background-color 0.2s ease;
    }
    ::-webkit-scrollbar-thumb:hover {
        background-color: #6366f1;
    }
    ::-webkit-scrollbar-button {
        display: none;
    }
    #burger-menu.hidden {
        display: none !important;
    }
    body.user-logged-in #burger-menu.hidden {
        display: none !important;
    }
    .nav-container {
        justify-content: space-between;
    }
    .nav-left {
        gap: 0;
    }
    .search-container {
        width: 100%;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    .sticky-nav-wrapper {
        position: sticky;
        top: 0;
        width: 100%;
        z-index: 1000;
        padding: 0;
        transition: transform 0.4s ease-in-out;
    }
    .sticky-nav-wrapper.nav-hidden {
        transform: translateY(-120%);
    }
    #main-nav {
    width: 100%;
    background-color: #191f2793;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-left: none;
    border-right: none;
    border-radius: 0;
    padding: 0;
    box-sizing: border-box;
    position: relative; 
}

#main-nav::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #374151, transparent);
}
    .nav-container {
        width: 100%;
        max-width: 1450px; 
        margin: 0 auto;    
        padding: 8px 25px !important;
        box-sizing: border-box;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .nav-logo img {
        height: 32px;
        display: block;
    }
    .nav-menu {
        list-style: none;
        display: flex;
        gap: -1px !important;
        margin: 0;
        padding: 0;
    }
    .nav-menu a {
    color: #d5d5d5;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95em;
    padding: 8px 15px;
    border-radius: 12px;
    transition: all 0.25s ease;
}

.nav-menu a:hover {
    color: #ffffff;
    background: linear-gradient(
        to bottom,
        #202733 0%,
        #2a3140 100%
    );
}

    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    .nav-left {
        display: flex;
        align-items: center;
        gap: 25px;
        flex-shrink: 0;
    }
    .nav-right {
        display: flex;
        align-items: center;
        gap: 20px;
        flex-grow: 1;
        justify-content: flex-end;
        position: relative;
    }
    #burger-menu {
        background-color: transparent;
        border: none;
        cursor: pointer;
        padding: 5px;
        z-index: 1001;
    }
    .toggle-container {
        position: relative;
        display: flex;
        background-color: #1a1a1a;
        border-radius: 50px;
        width: fit-content;
        border: 1px solid #333;
        padding: 5px;
    }
    .toggle-option {
        background: none;
        border: none;
        color: #a0a0a0;
        font-weight: bold;
        font-size: 0.9em;
        padding: 12px 20px;
        cursor: pointer;
        position: relative;
        z-index: 2;
        transition: color 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }
    .main-content-area {
        flex-grow: 1;
        padding: 20px;
        text-align: center;
        color: #888;
        font-size: 1.2em;
        display: flex;
        align-items: flex-start;

        justify-content: center;
        min-height: 200px;
    }
    .gradient-input {
        width: 100%;
        background-color: #1a1a1a;
        color: #fff;
        font-size: 1em;
        border: 2px solid transparent;
        background-image: linear-gradient(#1a1a1a, #1a1a1a), linear-gradient(to right, #335FFF, #335FFF);
        background-origin: border-box;
        background-clip: padding-box, border-box;
        transition: box-shadow 0.3s ease;
    }
    .gradient-input:focus {
        outline: none;
        box-shadow: 0 0 10px rgba(37, 244, 238, 0.3);
    }
    #search-input, #suggest-input {
        width: 100%;
        font-size: 1.1em;
        font-weight: bold;
        color: #fff;
        background-color: #1a1a1a;
        padding: 18px 25px;
        padding-right: 130px;
        border-radius: 50px;
        box-sizing: border-box;
        border: 2px solid transparent;
        background-image: linear-gradient(#1a1a1a, #1a1a1a), linear-gradient(to right, #335FFF, #335FFF);
        background-origin: border-box;
        background-clip: padding-box, border-box;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    #search-input:focus, #suggest-input:focus {
        outline: none;
        transform: scale(1.03);
        box-shadow: 0 0 10px rgba(37, 244, 238, 0.3);
    }
    #search-input::placeholder, #suggest-input::placeholder {
        color: #666;
    }
    #search-input {
        padding-left: 45px;
        padding-right: 25px;
    }
    .suggest-input-wrapper {
        position: relative;
        max-width: 500px;
        margin: 0 auto;
    }
    #suggest-input {
        padding-right: 130px;
    }
    #suggest-btn {
        position: absolute;
        top: 50%;
        right: 8px;
        transform: translateY(-50%);
        background-color: #335FFF;
        color: #fff;
        border: none;
        border-radius: 50px;
        padding: 12px 25px;
        font-weight: bold;
        font-size: 0.95em;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 8px;
        transition: all 0.2s ease;
    }
    #suggest-btn:hover {
        transform: translateY(-50%) scale(1.05);
        box-shadow: 0 4px 15px rgba(254, 44, 85, 0.4);
    }
    .burger-menu {
        width: 30px;
        height: 22px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        cursor: pointer;
        position: relative;
        z-index: 1002;
    }
    .burger-bar {
        width: 100%;
        height: 3px;
        background-color: #fff;
        border-radius: 3px;
        transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }
    .burger-menu.is-active .burger-bar:nth-child(1) {
        transform: translateY(9.5px) rotate(45deg);
    }
    .burger-menu.is-active .burger-bar:nth-child(2) {
        opacity: 0;
    }
    .burger-menu.is-active .burger-bar:nth-child(3) {
        transform: translateY(-9.5px) rotate(-45deg);
    }
    .mobile-nav-menu {
        background-color: #1a1a1a;
        border: 1px solid #333;
        position: absolute;
        top: 100%;
        width: calc(100% - 20px);
        left: 10px;
        margin-top: 10px;
        z-index: 999;
        border-radius: 15px;
        display: grid;
        grid-template-rows: 0fr;
        transition: grid-template-rows 0.5s ease-in-out, opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
        opacity: 0;
        visibility: hidden;
        overflow: hidden;
    }
    .mobile-nav-menu.is-open {
        grid-template-rows: 1fr;
        opacity: 1;
        visibility: visible;
    }
    .mobile-nav-menu>div {
        min-height: 0;
        display: flex;
        flex-direction: column;
    }
    .mobile-nav-menu a {
        color: #fff;
        text-decoration: none;
        font-weight: bold;
        font-size: 1.2em;
        padding: 20px 25px;
        border-bottom: 1px solid #2a2a2a;
        transition: background-color 0.2s ease;
    }
    .mobile-nav-menu a:last-child {
        border-bottom: none;
    }
    .mobile-nav-menu a:hover {
        background-color: #335FFF;
    }
    @media (max-width: 768px) {
        .nav-menu {
            display: none;
        }
        #burger-menu.hidden {
            display: flex !important;
        }
    }
    .nav-actions {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .nav-action-btn {
        padding: 8px 18px;
        border-radius: 6px;
        font-weight: 600;
        font-size: 0.9em;
        text-decoration: none;
        border: 2px solid transparent;
        transition: all 0.2s ease;
    }
    .login-btn {
        background-color: transparent;
        color: #fff;
    }
    .login-btn:hover {
        background-color: #ffffff12;
        color: #ffffff;
    }
    .signup-btn {
        background-color: #6366f1;
        color: #fff;
    }
    .signup-btn:hover {
        background-color: #FFA722;
        transform: scale(1.05);
    }
    .mobile-auth-links {
        margin-top: 10px;
        padding-top: 10px;
        border-top: 1px solid #333;
        display: flex;
        flex-direction: column;
    }
    .mobile-auth-links a {
        text-align: center;
    }
    .mobile-signup-btn {
        background-color: #6366f1;
        margin-top: 10px;
        border-radius: 8px;
    }
    .mobile-signup-btn:hover {
        background-color: #7c55e9 !important;
    }
    @media (max-width: 768px) {
    }
    @media (min-width: 769px) {
        .mobile-auth-links {
            display: none;
        }
    }
    .nav-action-btn, .mobile-auth-links a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
    }
    .nav-action-btn i, .mobile-auth-links i {
        display: inline-block;
        line-height: 1;
    }
    .nav-search-trigger {
        position: relative;
        display: flex;
        align-items: center;
        background-color: #0d111663;
        border: 1.5px solid #374151;
        border-radius: 8px;
        padding: 8px 12px;
        cursor: pointer;
        transition: all 0.2s ease;
        min-width: 180px;
        max-width: 350px;
        width: 100%;
        box-sizing: border-box;
    }
    .nav-search-trigger:hover {
        background-color: #0d1116;
    }
    .nav-search-trigger .search-icon {
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        width: 20px;
        height: 20px;
    }
    .search-trigger-placeholder {
        color: #c3c2c2;
        font-size: 0.9em;
        flex-grow: 1;
        padding-left: 30px;
    }
    .search-trigger-shortcut {
        background-color: #3f4a5b;
        color: #d7d7d7;
        font-size: 0.75em;
        font-weight: bold;
        padding: 3px 6px;
        border-radius: 4px;
        opacity: 0.7;
    }
    
    @media (max-width: 668px) {
        .nav-search-trigger {
            width: auto;
            background-color: transparent;
            border: none;
            padding: 5px;
        }
        .search-trigger-placeholder, .search-trigger-shortcut {
            display: none;
        }
        .nav-search-trigger .search-icon {
            margin-right: 0;
            width: 24px;
            height: 24px;
            position: static;
            transform: none;
        }
    }
    @media (max-width: 1170px) {
        .nav-menu {
            display: none;
        }
        .nav-actions {
            display: none !important;
        }
        #burger-menu.hidden {
            display: flex !important;
        }
        .nav-search-trigger {
            min-width: auto;
        }
    }
    .nav-action-btn i, .mobile-auth-links i {
        display: inline-block;
        line-height: 1;
    }
    .nav-action-btn svg, .mobile-auth-links svg {
        width: 20px;
        height: 20px;
    }
    footer {
    background-color: #161b225e;
    background-image: radial-gradient(ellipse at 100% 0%, #0d1116 0%, transparent 40%), radial-gradient(ellipse at 0% 50%, #0d1116 0%, transparent 35%), radial-gradient(ellipse at 50% 100%, #0d1116 0%, transparent 30%);
    padding: 40px 25px 0 25px;
    margin-top: 60px;
    position: relative; /* <--- IDAGDAG ITO */
}
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #374151, transparent); /* Ease effect */
}
    .footer-container {
        max-width: 1280px;
        margin: 0 auto;
    }
    .footer-links-grid {
        display: flex;
        justify-content: space-between; 
        align-items: flex-end; 
        margin-bottom: 40px;
        flex-wrap: wrap;
    }

    .footer-logo-column {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0; 
    }

    .footer-logo-column a {
        margin-bottom: 0px; 
    }

    .footer-logo-column p {
        color: #9CA3AF;
        font-size: 0.9em;
        line-height: 1.6;
        margin: 0 0 36px 0; 
        max-width: 400px;
    }

    .footer-contact-column {
        display: flex;
        flex-direction: column;
        align-items: flex-end; 
        gap: 8px;
    }

    .footer-contact-column h5 {
        font-size: 0.9em;
        font-weight: 600;
        color: #ffffff;
        margin: 0;
        text-transform: uppercase;
        letter-spacing: 0.8px;
        margin-right: 5px;
    }

    .email-pill {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        background-color: #161b22;
        border: 1px solid #374151;
        color: #9CA3AF;
        padding: 3px 12px;
        border-radius: 50px;
        text-decoration: none;
        font-size: 0.9em;
        font-weight: 500;
        transition: all 0.2s ease;
    }

    .email-pill:hover {
        background-color: #374151;
        color: #fff;
        border-color: #374151;
    }

    .footer-contact-text {
    color: #9CA3AF;       /* Darker gray para hindi agaw-pansin */
    font-size: 0.8em;     /* Maliit na font */
    margin: 0px 0 0 0;    /* Konting space sa taas */
    text-align: right;    /* Naka-align sa kanan */
    max-width: 250px;     /* Limitado ang lapad para mag-wrap */
    line-height: 1.5;
}

    .email-pill i {
        font-size: 1.1em;
        line-height: 0;
    }

    @media (max-width: 768px) {
        .footer-links-grid {
            flex-direction: column;
            align-items: center; 
            gap: 40px;
            text-align: center; 
        }
        
        .footer-contact-column {
            align-items: center; 
            width: 100%;
        }
        
        .footer-stats {
            width: 100%;
            justify-content: center !important; 
        }

        .footer-stat-item {
            padding: 0 20px;
        }
        
        .footer-stat-item:first-child {
            padding-left: 0;
        }
    }


    .footer-logo-column {
        max-width: 360px;
    }

    .footer-stats {
        display: flex;
        align-items: center;
    }

    .footer-stat-item {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 0px 30px 0px 10px;
        border-right: 1px solid #374151; 
    }

    .footer-stat-item:last-child {
        border-right: none;
        padding-right: 0;
    }

    .stat-count {
        color: #fff;
        font-size: 1.1em;
        font-weight: 700;
        line-height: 1.1;
    }

    .stat-label {
        color: #9CA3AF;
        font-size: 0.85em;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-top: 4px;
    }

    @media (max-width: 768px) {
        .footer-links-grid {
            flex-direction: column;
            align-items: flex-start;
            gap: 30px;
        }
        

        .footer-stat-item {
            padding: 0 20px;
        }
        
        .footer-stat-item:first-child {
            padding-left: 0;
        }
    }
    .footer-column h5 {
        font-size: 0.9em;
        font-weight: 700;
        color: #ffffff;
        margin: 0 0 15px 0;
        text-transform: uppercase;
        letter-spacing: 0.8px;
    }
    .footer-column ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .footer-column a {
        color: #9CA3AF;
        text-decoration: none;
        font-weight: 600;
        font-size: 0.95em;
        transition: color 0.2s ease;
    }
    .footer-column a:hover {
        color: #ffffff;
    }
    .footer-logo-column img {
        height: 35px;
        margin-bottom: 0px;
    }
    .footer-search-form {
        position: relative;
    }
    .footer-search-input {
        width: 100%;
        background-color: #0d1116;
        color: #fff;
        border: 1px solid #374151;
        border-radius: 8px;
        padding: 12px 15px;
        font-size: 0.9em;
        font-family: 'Open Sans', sans-serif;
        box-sizing: border-box;
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }
    .footer-search-input:focus {
        outline: none;
        border-color: #6366f1;
        box-shadow: 0 0 0 3px rgba(103, 61, 230, 0.3);
    }
    .footer-bottom-bar {
    background-color: #0D1116;
    margin: 30px -25px 0 -25px;
    padding: 14px max(25px, calc((100% - 1280px) / 2 + 25px));
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative; /* <--- IDAGDAG ITO */
    border-top: none;   /* <--- SIGURADUHING WALA NA ITO */
}

.footer-bottom-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #374151, transparent); /* Ease Effect */
}
    .footer-credit {
        color: #9CA3AF; 
        font-size: 0.9em;
        font-weight: 600;
    }

    .footer-credit strong {
        color: #fff; 
    }

    .footer-legal-links {
        display: flex;
        gap: 25px;
    }

    .footer-legal-links a {
        position: relative; 
        color: #9CA3AF;
        text-decoration: none;
        font-size: 0.85em;
        font-weight: 500;
        transition: color 0.2s ease;
    }

    .footer-legal-links a:not(:last-child)::after {
        content: '';
        position: absolute;
        right: -13px; 
        top: 50%;
        transform: translateY(-50%);
        width: 1px;
        height: 12px;
        background-color: #374151; 
    }

    .footer-legal-links a:hover {
        color: #fff;
    }
    .footer-socials {
        display: flex;
        align-items: center;
        gap: 15px;
    }
    .footer-socials a, .footer-socials a:visited {
        color: #FFFFFF;
        display: inline-block;
        transition: color 0.2s ease, transform 0.2s ease;
    }
    .footer-socials a:hover {
        color: #cccccc;
        transform: translateY(-2px);
    }
    .footer-socials a svg {
        width: 24px;
        height: 24px;
        fill: currentColor;
    }
    @media (max-width: 992px) {
        .footer-links-grid {
            grid-template-columns: 1fr 1fr;
        }
    }
    @media (max-width: 768px) {
        .footer-links-grid {
            grid-template-columns: 1fr;
            gap: 35px;
            text-align: center;
        }
        .footer-logo-column {
            order: -1;
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        .footer-bottom-bar {
            flex-direction: column;
            gap: 20px;
        }
    }
    .page-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.6);
        z-index: 1010;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease, visibility 0.4s ease;
    }
    .mobile-sidebar {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100%;
        background-color: #0d1116;
        border-left: 1px solid #374151;
        z-index: 1020;
        padding: 30px 20px;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        overflow-y: auto;
    }
    html.sidebar-open, body.sidebar-open {
        overflow: hidden;
    }
    body.sidebar-open .page-overlay {
        opacity: 1;
        visibility: visible;
    }
    body.sidebar-open .mobile-sidebar {
        transform: translateX(0);
    }
    .sidebar-auth {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    #sidebar-user-view {
        align-items: stretch;
    }
    .sidebar-auth .nav-action-btn {
        text-align: center;
        padding: 12px;
        font-size: 1em;
    }
    .sidebar-nav {
        display: flex;
        flex-direction: column;
        border-top: 1px solid #374151;
        padding-top: 20px;
    }
    body.user-logged-in .sidebar-nav {
        border-top: none;
        padding-top: 0;
    }
    .sidebar-nav a {
        color: #d1d5db;
        text-decoration: none;
        font-size: 1.1em;
        font-weight: 600;
        padding: 15px 10px;
        border-radius: 8px;
        transition: background-color 0.2s ease, color 0.2s ease;
    }
    .sidebar-nav a:hover {
        background-color: #374151;
        color: #ffffff;
    }
    .main-content-area {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .auth-container {
    width: 100%;
    max-width: 420px;
    background-color: transparent; 
    border: none; 
    border-radius: 12px;
    padding: 30px;
    box-sizing: border-box;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    
    position: relative; 
    overflow: hidden;   
    z-index: 0;        
}

.auth-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        #374151 0deg, 
        #374151 160deg, 
        #A5B4FC 180deg, 
        #374151 200deg, 
        #374151 360deg
    );
    animation: rotateBorder 6s linear infinite; 
    z-index: -2;
}

.auth-container::after {
    content: '';
    position: absolute;
    inset: 2px; 
    background-color: #161b22; 
    border-radius: 12px; 
    z-index: -1;
}

.auth-container > * {
    position: relative;
    z-index: 1;
}

@keyframes rotateBorder {
    100% {
        transform: rotate(360deg);
    }
}

    .auth-header-logo {
        width: 68px;
        height: 68px;
        border-radius: 50%;
        margin: 0 auto 20px auto;
        background-color: #0d1116;
        border: 2px solid #374151;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        box-shadow: 0 6px 16px rgb(42 52 65);
    }

    .auth-header-logo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .auth-title {
        font-size: 1.3em; /* Adjusted size */
        font-weight: 700;
        color: #fff;
        margin: 0 0 2px 0;
    }

    .auth-subtitle {
        font-size: 0.8em;
        color: #9CA3AF;
        margin: 0 0 20px 0;
    }

    .auth-subtitle a {
        color: #a5b4fc;
        text-decoration: none;
        font-weight: 600;
    }

    .auth-subtitle a:hover {
        text-decoration: underline;
    }

    .auth-divider {
    height: 2.5px;
    background: linear-gradient(90deg, transparent, #374151, transparent);
    width: 100%;
    margin: 0 0 25px 0;
    opacity: 0.8; 
}
    .form-group {
        position: relative;
        margin-bottom: 20px;
        margin-top: 5px;
    }

    .form-group.with-divider {
        border-top: 1px solid #434f62;
    }
    .form-group label {
        display: block;
        color: #D1D5DB;
        font-weight: 600;
        margin-bottom: 3px;
        margin-top: 10px;
        font-size: 0.8em;
        text-align: left;
    }
    .form-input {
        width: 100%;
        padding: 12px 12px;
        background-color: #2A3441;
        border: 1px solid #4B5563;
        border-radius: 12px;
        color: #fff;
        font-size: 1em;
        font-family: 'Open Sans', sans-serif;
        box-sizing: border-box;
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }
    .form-input:focus {
        outline: none;
        border-color: #6366f1; 
        box-shadow: 0 0 0 1px #6366f1; 
    }
    input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, input:-webkit-autofill:active {
        -webkit-text-fill-color: #ffffff !important;
        -webkit-box-shadow: 0 0 0px 1000px #2A3441 inset !important;
        transition: background-color 5000s ease-in-out 0s;
    }
    .form-action {
        text-align: right;
        margin-top: -10px;
        margin-bottom: 20px;
    }
    .forgot-password {
        color: #A5B4FC;
        font-size: 0.75em;
        font-weight: 600;
        text-decoration: none;
    }
    .forgot-password:hover {
        text-decoration: underline;
    }
    .auth-button {
        width: 100%;
        padding: 14px;
        background-color: #6366f1;
        color: #fff;
        border: none;
        border-radius: 6px !important;
        font-size: 0.9em;
        font-weight: 700;
        cursor: pointer;
        transition: background-color 0.2s ease;
    }
    .auth-button:hover {
        background-color: #4d4fba;
    }
    .reset-instruction {
        font-size: 0.8em;
        color: #9CA3AF;
        text-align: left;
        margin-top: -5px;
        margin-bottom: 25px;
        line-height: 1.6;
    }
    .social-login-divider {
        display: flex;
        align-items: center;
        margin: 30px 0;
    }
    .divider-line {
        flex-grow: 1;
        height: 1px;
        background-color: #374151;
    }
    .divider-text {
        color: #9CA3AF;
        padding: 0 15px;
        font-size: 0.8em;
        font-weight: 600;
    }
    .social-login-options {
        display: flex;
        gap: 15px;
    }
    .social-btn {
        flex-grow: 1;
        padding: 12px;
        border-radius: 6px;
        font-weight: 550;
        cursor: pointer;
        transition: background-color 0.2s ease;
        border: 1px solid #424b58;
        background-color: #161b22;
        color: #fff;
        font-size: 0.9em;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }
    .social-btn:hover {
        background-color: #374151;
    }
    .verify-icon {
        margin-bottom: 10px;
    }
    .verify-text {
        color: #9CA3AF;
        font-size: 0.9em;
        line-height: 1.7;
        margin: 20px 0 30px 0;
        text-align: left;
    }
    .resend-container {
    /* Tinanggal ang border-top at margin-top */
    padding-top: 10px; 
    text-align: left;
}
    .resend-question {
        color: #D1D5DB;
        font-weight: 600;
        margin: 0 0 15px 0;
        font-size: 0.8em;
    }
    .auth-switch-link {
        margin-top: 30px;
        text-align: center;
        color: #D1D5DB;
        font-size: 0.85em;
    }
    .auth-switch-link a {
        color: #6366f1;
        font-weight: 600;
        text-decoration: none;
    }
    .auth-switch-link a:hover {
        text-decoration: underline;
    }
    @media (max-width: 500px) {
            .auth-container {
                padding: 25px 20px;
                width: 95%; 
                margin: 0 auto;
            }
            
            .auth-title {
                font-size: 1.2em; 
            }

            .main-content-area {
                padding-left: 20px;
                padding-right: 20px;
                justify-content: flex-start;
                padding-top: 90px;
            }

            .social-login-options {
                flex-direction: column;
            }
        }
    #user-profile-nav {
        display: flex;
        align-items: center;
        cursor: pointer;
    }
    .nav-actions, #user-profile-nav {
        display: none;
    }
    .profile-avatar-nav {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        border: 2px solid #647182;
        object-fit: cover;
        padding: 5px;
        box-sizing: border-box;
    }
    #user-profile-nav img.profile-avatar-nav {
        padding: 0;
    }
    #sidebar-user-view {
        display: flex;
        align-items: center;
        gap: 15px;
        padding: 0px;
        margin-bottom: 15px;
    }
    .profile-avatar-sidebar {
        width: 42px;
        height: 42px;
        min-width: 42px;
        border-radius: 50%;
        border: 2px solid #4b5563;
        padding: 4px;
        box-sizing: border-box;
    }
    .sidebar-user-info {
        display: flex;
        flex-direction: column;
    }
    .sidebar-username {
        color: #ffffff;
        font-weight: 600;
        font-size: 1.1em;
    }
    .sidebar-email {
        color: #9CA3AF;
        font-size: 0.85em;
    }
    .user-dropdown {
        position: absolute;
        top: 100%;
        right: 0;
        margin-top: 20px;
        background-color: #161b22;
        border: 1px solid #374151;
        border-radius: 12px;
        width: 220px;
        z-index: 1100;
        box-shadow: 0 8px 16px rgba(0,0,0,0.3);
        display: flex;
        flex-direction: column;
        padding: 8px 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    }
    .user-dropdown.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    .dropdown-user-info {
        padding: 8px 16px;
        display: flex;
        flex-direction: column;
    }
    .signed-in-as {
        font-size: 0.8em;
        color: #9CA3AF;
    }
    .dropdown-username {
        color: #ffffff;
        font-weight: 600;
        font-size: 0.95em;
        line-height: 1.2;
    }
    .dropdown-email {
        font-size: 0.8em;
        color: #9CA3AF;
        word-break: break-all;
    }
    .dropdown-divider {
        height: 1px;
        background-color: #374151;
        margin: 8px 0;
    }
    .sidebar-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, #4b5563, transparent);
    margin: 15px 0;
    opacity: 0.6;
    border: none; 
}
    .dropdown-link {
        padding: 10px 16px;
        color: #D1D5DB;
        text-decoration: none;
        font-size: 0.9em;
        font-weight: 500;
    }
    .dropdown-link:hover {
        background-color: #374151;
        color: #ffffff;
    }
    .dropdown-link.logout {
        color: #fca5a5;
    }
    .dropdown-link.logout:hover {
        background-color: #991b1b;
        color: #ffffff;
    }
    .sidebar-profile-header {
        display: flex;
        align-items: center;
        margin-bottom: 15px;
    }
    .sidebar-user-nav {
        display: flex;
        flex-direction: column;
        text-align: left;
        width: 100%;
    }
    .sidebar-user-nav a {
        color: #d1d5db;
        text-decoration: none;
        font-size: 1.1em;
        font-weight: 600;
        padding: 15px 10px;
        border-radius: 8px;
        transition: background-color 0.2s ease, color 0.2s ease;
    }
    .sidebar-user-nav a:hover {
        color: #ffffff;
    }
    .sidebar-user-nav a#logout-btn-mobile {
        color: #fca5a5;
    }
    .form-success-message {
        color: #4ade80;
        font-weight: 600;
        font-size: 0.9em;
        text-align: center;
        margin-top: 20px;
    }
    .form-input::placeholder {
        font-family: 'Open Sans', sans-serif;
        font-size: 0.9em;
        color: #ffffff;
        opacity: 0.2;
    }
    .form-error-message {
        color: #fca5a5;
        font-size: 0.8em;
        font-weight: 500;
        text-align: left;
        margin-top: 5px;
        display: none;
        min-height: 1em;
    }
    .form-input.input-error {
        border-color: #ef4444 !important;
        box-shadow: 0 0 0 1px #ef4444;
    }
    .custom-select-trigger.input-error {
        border-color: #ef4444 !important;
        box-shadow: 0 0 0 1px #ef4444;
    }
    .form-input.input-error:focus {
        border: 2px solid #ef4444 !important;
    }
    .password-input-wrapper {
        position: relative;
        display: flex;
        align-items: center;
    }
    .password-input-wrapper .form-input {
        padding-right: 45px;
    }
    .toggle-password-btn {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        cursor: pointer;
        padding: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #9CA3AF;
    }
    .toggle-password-btn:hover {
        color: #ffffff;
    }
    .toggle-password-btn svg {
        width: 20px;
        height: 20px;
    }
    .legal-content-container {
        width: 100%;
        max-width: 950px;
        background-color: #161b22;
        border: 1px solid #374151;
        border-radius: 12px;
        padding: 30px 40px;
        box-sizing: border-box;
        text-align: left;
        margin: 20px 0;
    }
    .legal-content-container h1 {
        font-size: 1.6em;
        font-weight: 600;
        color: #ffffff;
        margin-top: 0;
        margin-bottom: 25px;
        padding-bottom: 15px;
        position: relative; /* Importante para sa positioning ng line */
        border-bottom: none; /* Inalis na natin ang solid border */
    }

    /* Ito ang bagong gradient border na may ease sa dulo-dulo */
    .legal-content-container h1::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 2px;
        /* Transparent -> Color -> Transparent */
        background: linear-gradient(90deg, transparent, #4B5563, transparent); 
    }
    .legal-content-container h2 {
        font-size: 1.2em;
        font-weight: 600;
        color: #E5E7EB;
        margin-top: 35px;
        margin-bottom: 15px;
    }
    .legal-content-container h3 {
        font-size: 1.1em;
        font-weight: 600;
        color: #D1D5DB;
        margin-top: 25px;
        margin-bottom: 10px;
    }
    .legal-content-container p, .legal-content-container li {
        color: #d1d5db;
        font-size: 0.8em;
        line-height: 1.8;
    }
    .legal-content-container a {
        color: #A5B4FC;
        text-decoration: none;
        font-weight: 600;
    }
    .legal-content-container a:hover {
        text-decoration: underline;
    }
    .legal-content-container ul {
        padding-left: 25px;
    }
    @media (max-width: 500px) {
        .legal-content-container {
            padding: 25px 20px;
        }
        .legal-content-container h1 {
            font-size: 1.6em;
        }
        .legal-content-container h2 {
            font-size: 1.2em;
        }
    }
    .form-group-agree {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 20px;
    }
    .agree-text {
        font-size: 0.75em;
        color: #D1D5DB;
        text-align: left;
    }
    .agree-text a {
        color: #A5B4FC;
        font-weight: 600;
        text-decoration: none;
    }
    .agree-text a:hover {
        text-decoration: underline;
    }
    .toggle-switch {
        position: relative;
        display: inline-block;
        width: 44px;
        height: 24px;
        flex-shrink: 0;
    }
    .toggle-switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }
    .slider {
        position: absolute;
        cursor: pointer;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #4B5563;
        transition: .4s;
        border-radius: 34px;
        border: 2px solid transparent;
    }
    .slider:before {
        position: absolute;
        content: "";
        height: 16px;
        width: 16px;
        left: 4px;
        bottom: 2px;
        background-color: white;
        transition: .4s;
        border-radius: 50%;
    }
    input:checked + .slider {
        background-color: #6366f1;
    }
    input:checked + .slider:before {
        transform: translateX(20px);
    }
    .toggle-switch.input-error .slider {
        border-color: #ef4444 !important;
    }
    #terms-error {
        margin-bottom: 20px;
    }
    .auth-button.btn-cooldown {
        background-color: #4B5563;
        color: #9CA3AF;
        cursor: not-allowed;
    }
    .auth-button.btn-cooldown:hover {
        background-color: #4B5563;
    }
    .rc-anchor-light {
        background: #161b22 !important;
        color: #000 !important;
    }
    .rc-anchor-light .rc-anchor-logo-text, .rc-anchor-light div a:link, .rc-anchor-light div a:visited {
        color: #ffffffd4 !important;
    }
    .dashboard-link-icon {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
        color: #546070;
        transition: color 0.2s ease;
    }
    .dashboard-link:hover .dashboard-link-icon {
        color: #D1D5DB;
    }
    .dashboard-link.active .dashboard-link-icon {
        color: #ffffff;
    }
    .sidebar-user-nav a {
        display: flex;
        align-items: center;
        color: #d1d5db;
        text-decoration: none;
        font-size: 1.1em;
        font-weight: 600;
        padding: 15px 10px;
        border-radius: 8px;
        transition: background-color 0.2s ease, color 0.2s ease;
    }
    .sidebar-user-nav .nav-icon {
        width: 20px;
        height: 20px;
        color: #546070;
        margin-right: 15px;
        flex-shrink: 0;
    }
    .page-header.column-layout {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        margin-bottom: 25px;
        padding-bottom: 25px;
    }
    #dashboard-content h2 {
        font-size: 1.5em;
        font-weight: 600;
        color: #E5E7EB;
        margin: 0;
    }
    .create-new-btn {
        background-color: #6366f1;
        color: #fff;
        border: none;
        border-radius: 8px;
        padding: 8px 20px;
        font-weight: 600;
        font-size: 0.85em;
        cursor: pointer;
        transition: background-color 0.2s ease;
    }
    .create-new-btn:hover {
        background-color: #4d4fba;
    }
    .projects-list-container {
        width: 100%;
    }
    .projects-list-header, .project-item {
        display: grid;
        grid-template-columns: 3fr 1fr 1fr 1fr;
        gap: 20px;
        align-items: center;
        width: 100%;
        box-sizing: border-box;
    }
    .projects-list-header {
        display: grid;
        /* Ito ang EXACT match ng grid sa .project-item na ginawa natin kanina */
        grid-template-columns: 0px 1fr auto auto auto auto; 
        gap: 40px;
        padding: 0 12px 10px 16px; /* Padding para pumantay sa items */
        align-items: center;
        
        /* Text Styling */
        color: #9CA3AF;
        font-size: 0.75em;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        margin-bottom: 5px;
        margin-top: 10px;
    }

    .projects-list-header > span {
    position: relative; /* Importante para sa positioning ng line */
}

/* Lalagyan ng line ang kanan ng Poll Details, Status, at Votes */
.projects-list-header > span:nth-child(2)::after,
.projects-list-header > span:nth-child(3)::after,
.projects-list-header > span:nth-child(4)::after {
    content: '';
    position: absolute;
    right: -15px; /* Kalahati ng gap (30px / 2) para nasa gitna */
    top: 50%;
    transform: translateY(-50%);
    height: 16px; /* Taas ng guhit */
    width: 1px;   /* Kapal ng guhit */
    background-color: #374151; /* Kulay ng guhit */
}

    @media (max-width: 768px) {
        .projects-list-header {
            display: none;
        }
    }
    .project-item {
    position: relative; 
    background-color: #161b22; 
    border: 1px solid #374151;
    border-radius: 12px;
    margin-bottom: 16px !important;
    padding: 18px 16px;
    color: #D1D5DB;
    font-size: 0.8em;
    align-items: center;
    display: grid;
    grid-template-columns: 50px 1fr auto auto auto auto;
    gap: 28px;
    transition: border-color 0.3s ease, transform 0.2s ease;
    overflow: visible;
    z-index: 1; 
}

.project-item::before {
    content: '';
    position: absolute;
    inset: 0; 
    background: linear-gradient(90deg, #2a3441  0%, #161b22 100%);
    opacity: 0; 
    transition: opacity 0.3s ease; 
    z-index: -1;
}

.project-item:hover::before {
    opacity: 1; 
}

.project-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%); 
    width: 0%; 
    height: 1.3px; 
    background: linear-gradient(90deg, transparent, #8b97ad, transparent);
    transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 2;
}

.project-item:hover::after {
    width: 100%; 
}

.project-item:hover {
    border-color: #4b5563;
    transform: translateY(-1px); 
        box-shadow: 0 8px 30px -16px #374151
}
    .project-item:has(.project-options-menu.show) {
        z-index: 20;
    }
    .project-item:hover {
        border-color: #4b5563;
        background-color: #202733;
        transform: scale(1.02);
    }
    .project-item:has(.tooltip-container:hover) {
        z-index: 20;
    }
    .project-item > *:nth-child(n+3):nth-child(-n+7) {
        justify-self: center;
    }
    .project-stats-desktop {
        display: contents;
    }
    .project-details-collapsible, .project-footer-mobile {
        display: none;
    }
    @media (max-width: 768px) {
        .projects-list-header .header-title:not(:nth-child(2)) {
            display: none;
        }
        .projects-list-header {
            padding-left: 15px;
        }
        .project-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 12px;
            position: relative;
            padding: 15px;
        }
        .project-item .project-thumbnail {
            width: 100%;
            margin-right: 0;
        }
        .project-item .project-details {
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 100%;
        }
        .project-item .project-name {
            justify-content: center;
            text-align: center;
            display: flex;
            flex-wrap: wrap;
            align-items: baseline;
            gap: 0 8px;
        }
        .project-item .project-name .tooltip-container span {
            white-space: normal;
            word-break: break-word;
        }
        .project-meta-info {
            display: flex;
            align-items: center;
            gap: 6px;
            margin-top: 0px;
        }
        .project-main-info {
            padding: 15px;
        }
        .status-mobile-container {
            display: flex !important;
        }
        .project-stats-desktop {
            display: flex;
            width: 100%;
            margin-top: 15px;
            padding-top: 15px;
            border-top: 1px solid #374151;
            justify-content: space-between;
        }
        .project-stats-desktop .project-author-desktop .project-author-name, .project-stats-desktop .project-author-desktop .project-author-avatar {
            display: none;
        }
        .project-stats-desktop .project-stats-group {
            display: flex;
            width: 100%;
            justify-content: space-around;
        }
        .project-item .project-actions {
            display: block;
            position: absolute;
            top: 20px;
            right: 20px;
            z-index: 5;
        }
        .project-details-collapsible {
            display: grid;
            grid-template-rows: 0fr;
            transition: grid-template-rows 0.3s ease-out;
            background-color: #0d1116;
        }
        .project-details-collapsible.expanded {
            grid-template-rows: 1fr;
        }
        .collapsible-item-wrapper {
            overflow: hidden;
            display: flex;
            flex-direction: column;
            gap: 15px;
            padding: 0 15px;
        }
        .project-details-collapsible.expanded .collapsible-item-wrapper {
            padding: 15px;
        }
        .collapsible-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.9em;
        }
        .collapsible-item strong {
            color: #9CA3AF;
        }

        .project-details {
            gap: 1px;
        }

    }
.project-thumbnail {
    width: 50px; /* Pinaliit */
    height: 50px; /* Square */
    flex-shrink: 0;
    border-radius: 8px;
    /* Inalis ang default bg color dahil sa classes */
    margin-right: 0; 
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
    .project-thumbnail img, .project-thumbnail > div {
        transition: transform 0.4s ease-in-out;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .project-item:hover .project-thumbnail img, .project-item:hover .project-thumbnail > div {
        transform: scale(1.1);
    }
.project-name {
        font-weight: 600;
        color: #fff;
    }

    /* PC Version Only: Limit characters and add Fade Effect */
    @media (min-width: 769px) {
        .project-name {
            display: block;
            max-width: 30ch; /* Tantiya para sa 30-32 characters */
            white-space: nowrap;
            overflow: hidden;
            
            /* Ito ang "Ease" o Fade-out effect na parang naglalaho */
            -webkit-mask-image: linear-gradient(to right, black 85%, transparent 100%);
            mask-image: linear-gradient(to right, black 85%, transparent 100%);
        }
    }
    .project-name {
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .project-name .pill {
        font-size: 0.7em;
        padding: 2px 8px;
        height: auto;
        line-height: 1.5;
        flex-shrink: 0;
    }
    .project-status {
        font-weight: 600;
        padding: 4px 10px;
        border-radius: 12px;
        font-size: 0.8em;
        width: fit-content;
        text-align: center;
    }
    .status-approved {
        color: #4ade80;
        background-color: rgba(74, 222, 128, 0.1);
    }
.project-details {
    display: flex;
    flex-direction: column;
    gap: 8px; /* Pwede mong baguhin ang 8px kung gusto mo ng mas malaki o maliit na gap */
}
    .project-date {
        font-size: 0.8em;
        color: #9CA3AF;
        font-weight: 400;
    }
    .create-form-container {
        max-width: 900px;
    }
    .form-layout-grid {
        display: block; 
    }

    .form-steps-header {
        width: 100%;
        margin-top: 60px;
        margin-bottom: 15px;
    }

    .sidebar-steps-container {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        position: relative;
        padding: 0; 
        box-sizing: border-box;
    }

    .sidebar-step {
        display: flex;
        flex-direction: column; 
        align-items: center; 
        gap: 10px; 
        text-align: center;
        position: relative;
        z-index: 2;
        cursor: default !important;
    }

    .step-number {
        width: 38px;
        height: 38px;
        flex-shrink: 0;
        background-color: #0f172b;
        color: #9CA3AF;
        border: 2px solid #374151;
        border-radius: 50px !important;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        transition: all 0.3s ease;
    }

    .sidebar-step.completed .step-number,
    .sidebar-step.active .step-number {
        cursor: pointer;
    }

    .step-number:hover {
        background-color: #6366f1;
        color: #ffffff;
        border-color: #6366f1;
        transform: scale(1.05);
    }


    .step-text h4 {
        margin: 0 0 4px 0;
        color: #9CA3AF;
        font-weight: 600;
        transition: color 0.3s ease;
        font-size: 0.9em;
    }

    .step-text p {
        display: none; 
    }
    .step-text.active h4 {
        color: #fff;
    }
    .step-number.active {
        background-color: #6366f1;
        border-color: #6366f1;
        color: #fff;
    }
    .step-number.completed {
        background-color: #6366f1 !important;
        border-color: #6366f1;
        color: #fff;
    }
    .step-number.completed svg {
        width: 20px;
        height: 20px;
        fill: currentColor;
    }
    .step-text.active h4 {
        color: #fff;
    }
    .step-text.active p {
        color: #9CA3AF;
    }
    .sidebar-step.active .step-text p {
        color: #9CA3AF;
    }
    .help-section {
        margin-top: 30px;
        padding-top: 20px;
        border-top: 1px solid #374151;
    }
    .help-section p {
        margin: 0 0 5px 0;
        font-size: 0.9em;
        font-weight: 600;
        color: #D1D5DB;
    }
    .help-section a {
        font-size: 0.8em;
        color: #A5B4FC;
    }
    .form-content {
        flex-grow: 1;
    }
    @media (max-width: 768px) {
        .form-layout-grid {
            flex-direction: column;
        }
        .form-sidebar {
            flex-direction: row;
            justify-content: center;
            flex: 0 0 auto;
        }

        .help-section {
            display: none;
        }
        .step-text p {
            display: none;
        }
    }
    .form-step {
        display: none;
        animation: fadeIn 0.5s ease;
    }
    .form-step.active {
        display: block;
    }
    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    .step-title {
        font-size: 1.2em;
        font-weight: 600;
        margin-bottom: 25px;
        color: #E5E7EB;
        text-align: left;
    }
    .form-input, select.form-input {
        background-color: #0d1116;
        border-color: #4B5563;
    }
    .form-input:focus, select.form-input:focus {
        background-color: #0d1116;
    }
    .code-input {
        font-size: 0.9em;
        resize: none;
    }
    #main-content {
        resize: none;
    }
    .conditional-fields {
        display: none;
    }
    .conditional-fields.active {
        display: block;
    }
    .form-group .thumbnail-uploader {
        background-color: #19202b;
        width: 100%;
        box-sizing: border-box;
        border: 2.5px dashed #4B5563;
        border-radius: 8px;
        padding: 30px 20px;
        cursor: pointer;
        transition: border-color 0.2s ease, background-color 0.2s ease;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .thumbnail-uploader.input-error {
        border-color: #ef4444 !important;
        box-shadow: 0 0 0 1px #ef4444;
    }
    .thumbnail-uploader:hover {
        border-color: #fff;
        background-color: #161b22;
    }
    .thumbnail-uploader.has-content {
        cursor: default;
        padding: 0;
        border: 1px solid #4B5563;
        position: relative;
        overflow: hidden;
        aspect-ratio: 16 / 9;
        background-color: #0D1116;
    }
    .thumbnail-uploader.has-content video {
        width: 100%;
        height: 100%;
        object-fit: contain;
        position: absolute;
        top: 0;
        left: 0;
    }
    .thumbnail-uploader svg {
        width: 48px;
        height: 48px;
        color: #9CA3AF;
        margin-bottom: 12px;
    }
    .thumbnail-uploader span {
        font-weight: 600;
        color: #D1D5DB;
    }
    .uploader-subtext {
        font-size: 0.8em;
        color: #9CA3AF;
        font-weight: 400 !important;
        margin-top: 5px;
        display: block;
    }
    .form-btn {
        background-color: #6366f1;
        color: #fff;
        font-family: 'Open Sans', sans-serif;
        font-size: 15px;
        font-weight: 600;
        padding: 12px 25px;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.2s ease-in-out;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        text-decoration: none; /* <--- IDAGDAG MO ITO DITO */
    }
    .form-btn:hover {
        background-color: #4d4fba;
    }
    .form-btn:disabled, .form-btn[disabled] {
        background-color: #374151 !important;
        color: #9CA3AF !important;
        cursor: not-allowed !important;
        opacity: 0.7;
        box-shadow: none !important;
        transform: none !important;
    }
    .form-btn:disabled:hover, .form-btn[disabled]:hover {
        background-color: #374151 !important;
    }
    .form-btn:active {
        transform: translateY(1px);
    }
    .form-btn svg {
        width: 20px;
        height: 20px;
        fill: currentColor;
    }
    .btn-prev {
        background: #374151;
        box-shadow: none;
    }
    .btn-prev:hover {
        background: #4B5563;
        box-shadow: none;
    }
    .btn-prev:active {
        transform: translateY(2px);
        box-shadow: none;
    }
    .create-layout-wrapper {
        width: 100%;
        max-width: 950px;
    }
    .create-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 20px;
        margin-bottom: 20px;
    }
    .create-header h1 {
        font-size: 1.8em;
        font-weight: 600;
        color: #E5E7EB;
        margin: 0;
        text-align: left;
        flex-shrink: 0;
    }
    .form-layout-grid {
        display: block; 
    }


    .step-number {
        flex-shrink: 0;
        background-color: #0d1116;
        color: #9CA3AF;
        border: 2px solid #374151;
        border-radius: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        transition: all 0.3s ease;
    }
    .step-text h4 {
        margin: 0 0 4px 0;
        color: #9CA3AF;
        font-weight: 600;
        transition: color 0.3s ease;
    }
    .step-text p {
        margin: 0;
        font-size: 0.85em;
        color: #4B5563;
        transition: color 0.3s ease;
    }
    .sidebar-step.active .step-text h4 {
        color: #fff;
    }
    .sidebar-step.active .step-text p {
        color: #9CA3AF;
    }
    .help-section {
        margin-top: 30px;
        padding-top: 20px;
        border-top: 1px solid #374151;
        text-align: left;
    }
    .help-section p {
        margin: 0 0 5px 0;
        font-size: 0.9em;
        font-weight: 600;
        color: #D1D5DB;
    }
    .help-section a {
        font-size: 0.8em;
        color: #A5B4FC;
    }
    .form-content {
        background-color: #161b22;
        border: 1px solid #374151;
        border-radius: 12px;
        padding: 20px 30px;
    }
    @media (max-width: 900px) {
        .create-layout-wrapper .form-layout-grid {
            display: flex;
            flex-direction: column;
        }
        .form-steps-header {
            order: -1;
        }
        .sidebar-steps-container::before {
            left: 10%;
            width: 80%;
        }
    }
    .category-cards-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        margin-bottom: 20px;
    }
    .category-card {
        background-color: #0d1116;
        border: 1.5px solid #374151;
        border-radius: 8px;
        padding: 20px;
        cursor: pointer;
        transition: all 0.2s ease;
        text-align: left;
        display: flex;
        align-items: center;
        gap: 15px;
    }
    .category-card.disabled {
        opacity: 0.4;
        cursor: not-allowed;
        pointer-events: none;
    }
    .card-icon-wrapper {
        width: 48px;
        height: 48px;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
        background-color: #161b22;
        color: #9CA3AF;
        transition: all 0.2s ease;
    }
    .card-icon-wrapper svg {
        width: 28px;
        height: 28px;
    }
    .category-card:hover .card-icon-wrapper {
        color: #fff;
    }
    .category-card.selected .card-icon-wrapper {
        color: #fff;
        background-color: #6366f1;
    }
    .category-card:hover {
        border-color: #43556f;
        background-color: #232e40;
    }
    .category-card.selected {
        border-color: #6366f1;
        background-color: rgb(99 102 241 / 25%);
        transform: scale(1.05); /* Ito ang nagpapalaki sa card ng 5% */
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4); /* Opsyonal ito, pero nagbibigay ng 'floating' effect */
    }
    .category-card h4 {
        margin: 0 0 5px 0;
        color: #fff;
    }
    .category-card p {
        margin: 0;
        font-size: 0.85em;
        color: #9CA3AF;
    }
    .form-navigation-btns {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 30px;
        padding-top: 20px;
    }
    body.edit-mode #step-2 .btn-prev {
        display: none;
    }
    body.edit-mode #step-2 .form-navigation-btns {
        justify-content: flex-end;
    }
    .textarea-wrapper {
        position: relative;
    }
    #content-description {
        resize: none;
        padding-bottom: 40px;
    }

    #content-title {
        padding-bottom: 12px;
    }
    .char-counter {
        position: absolute;
        bottom: 8px;
        right: 12px;
        font-size: 0.75em;
        color: #9CA3AF;
        pointer-events: none;
    }
    .char-counter.limit-reached {
        color: #ef4444;
        font-weight: 600;
    }
    .keywords-container {
        position: relative;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
        background-color: #0d1116;
        border: 1px solid #4B5563;
        border-radius: 6px;
        padding: 8px;
        cursor: text;
    }
    .keywords-container:focus-within {
        border-color: #6366f1;
        box-shadow: 0 0 0 1px #6366f1;
    }
    #keywords-input {
        flex-grow: 1;
        border: none;
        background: none;
        outline: none;
        padding: 4px;
        color: #fff;
        font-size: 1em;
        font-family: 'Open Sans', sans-serif;
        min-width: 150px;
    }
    #keywords-input::placeholder {
        color: #6b7280;
        font-size: 0.9em;
    }
    .keyword-pill {
        display: flex;
        align-items: center;
        background-color: #374151;
        color: #E5E7EB;
        padding: 6px 12px;
        border-radius: 6px;
        font-size: 0.85em;
        font-weight: 500;
    }
    .remove-keyword {
        margin-left: 8px;
        cursor: pointer;
        width: 20px;
        height: 20px;
        background-color: #0d1116 !important;
        border-radius: 12%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-style: normal;
        font-weight: 600;
        line-height: 1;
        transition: background-color 0.2s;
        font-family: 'Open Sans', sans-serif;
    }
    .remove-keyword:hover {
        background-color: #ef4444 !important;
        color: #fff;
    }
    .keywords-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 8px;
    }
    .add-keyword-btn {
        background: none;
        border: none;
        color: #A5B4FC;
        font-weight: 600;
        cursor: pointer;
        padding: 4px 8px;
        border-radius: 4px;
        font-size: 0.85em;
        transition: background-color 0.2s ease;
    }
    .add-keyword-btn:hover {
        background-color: rgba(165, 180, 252, 0.1);
    }
    .add-keyword-btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }
    .keywords-container.input-error {
        border-color: #ef4444 !important;
        box-shadow: 0 0 0 1px #ef4444;
    }
    .form-instruction-text {
        font-size: 0.8em;
        color: #9CA3AF;
        margin: -4px 0 10px 0;
        text-align: left;
    }
    .required-asterisk {
        color: #ef4444;
        margin-left: 4px;
        font-weight: 600;
        font-size: 1.2em;
        vertical-align: middle;
    }
    .info-icon {
        width: 22px;
        height: 19px;
        color: #9CA3AF;
        cursor: help;
        transition: color 0.2s ease;
    }
    .info-icon:hover {
        color: #E5E7EB;
    }
    #profile-header-username {
        display: flex;
        align-items: baseline;
        gap: 6px;
    }
    .form-btn-switch {
        background: none;
        border: none;
        color: #A5B4FC;
        font-weight: 600;
        font-size: 0.8em;
        padding: 8px 12px;
        border-radius: 6px;
        cursor: pointer;
        margin-top: 15px;
        transition: all 0.2s ease;
        display: block;
        margin-left: auto;
    }
    .form-btn-switch:hover {
        background-color: rgba(165, 180, 252, 0.1);
    }
    .codes-list {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-bottom: 10px;
    }
    .code-reward-pair {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .code-reward-pair input:first-child {
        flex: 1;
    }
    .code-reward-pair input:last-of-type {
        flex: 2;
    }
    .remove-code-btn {
        background-color: rgba(255, 255, 255, 0.1);
        color: #fff;
        border: none;
        width: 32px;
        height: 32px;
        flex-shrink: 0;
        border-radius: 6px;
        cursor: pointer;
        font-size: 1.5em;
        line-height: 1;
        transition: background-color 0.2s ease;
    }
    .remove-code-btn:hover {
        background-color: #ef4444;
        color: #fff;
    }
    .add-code-btn {
        background: none;
        border: none;
        color: #A5B4FC;
        font-weight: 600;
        cursor: pointer;
        padding: 4px 8px;
        border-radius: 4px;
        font-size: 0.85em;
        transition: background-color 0.2s ease;
        text-align: left;
        display: block;
    }
    .add-code-btn:hover {
        background-color: rgba(165, 180, 252, 0.1);
    }
    .collapse-arrow {
        width: 16px;
        height: 16px;
        color: #9CA3AF;
        transition: transform 0.3s ease;
    }
    .collapsible-header.active .collapse-arrow {
        transform: rotate(180deg);
    }
    .collapsible-content {
        display: grid;
        grid-template-rows: 0fr;
        transition: grid-template-rows 0.1s ease-out;
    }
    .collapsible-content.open {
        grid-template-rows: 1fr;
    }
    .collapsible-content > div {
        overflow: hidden;
    }
    .btn-publish svg {
        width: 15px;
        height: 15px;
    }
    .step-title-wrapper {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        margin-bottom: 25px;
    }
    .step-title-wrapper .step-title {
        margin-bottom: 0;
    }
    .form-btn-link {
        background: none;
        border: none;
        color: #A5B4FC;
        font-weight: 600;
        font-size: 0.85em;
        cursor: pointer;
        padding: 4px 8px;
        border-radius: 4px;
        transition: background-color 0.2s ease;
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }
    .form-btn-link svg {
        width: 14px;
        height: 14px;
        stroke-width: 2.5;
    }
    .form-btn-link:hover {
        background-color: rgba(165, 180, 252, 0.1);
    }
    #serp-modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(17, 24, 39, 0.7);
        backdrop-filter: blur(4px);
        z-index: 2000;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
        box-sizing: border-box;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    body.serp-modal-open {
        overflow: hidden;
    }
    #serp-modal-overlay.visible {
        opacity: 1;
        visibility: visible;
    }
    #serp-modal-container {
        width: 100%;
        max-width: 600px;
        background-color: #161b22;
        border: 1px solid #374151;
        border-radius: 12px;
        padding: 20px;
        box-sizing: border-box;
        transform: scale(0.95);
        transition: transform 0.3s ease;
    }
    #serp-modal-overlay.visible #serp-modal-container {
        transform: scale(1);
    }
    .serp-preview {
        font-family: 'Open Sans', sans-serif !important;
        text-align: left;
    }
    .serp-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 8px;
    }
    .serp-header-left {
        display: flex;
        align-items: center;
        gap: 12px;
    }
    .serp-favicon {
        width: 28px;
        height: 28px;
        border-radius: 50%;
    }
    .serp-site-info {
        display: flex;
        flex-direction: column;
    }
    .serp-site-name {
        color: #e8eaed;
        font-size: 14px;
    }
    .serp-breadcrumb {
        color: #9aa0a6;
        font-size: 12px;
    }
    .serp-dots {
        width: 20px;
        height: 20px;
        color: #9aa0a6;
    }
    .serp-title {
        display: block;
        color: #8ab4f8;
        font-size: 20px;
        font-weight: 400;
        text-decoration: none;
        margin-bottom: 4px;
    }
    .serp-title:hover {
        text-decoration: underline;
    }
    .serp-description {
        color: #bdc1c6;
        font-size: 14px;
        line-height: 1.57;
        margin: 0;
    }
    .serp-modal-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-bottom: 15px;
        margin-bottom: 15px;
        border-bottom: 1px solid #374151;
    }
    .serp-modal-header h4 {
        margin: 0;
        font-size: 1em;
        font-weight: 600;
        color: #E5E7EB;
    }
    .close-modal-btn {
        background-color: rgba(255, 255, 255, 0.1);
        border: 1px solid transparent;
        border-radius: 6px;
        color: #fff;
        font-size: 1.6em;
        font-weight: 400;
        cursor: pointer;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        transition: all 0.2s ease;
    }
    .close-modal-btn:hover {
        color: #ffffff;
        background-color: rgba(255, 255, 255, 0.2);
        border-color: #4B5563;
    }
    #video-modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(17, 24, 39, 0.7);
        backdrop-filter: blur(4px);
        z-index: 2000;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
        box-sizing: border-box;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    #video-modal-overlay.visible {
        opacity: 1;
        visibility: visible;
    }
    #video-modal-container {
        width: 100%;
        max-width: 500px;
        background-color: #161b22;
        border: 1px solid #374151;
        border-radius: 12px;
        box-sizing: border-box;
        transform: scale(0.95);
        transition: transform 0.3s ease;
        overflow: hidden;
    }
    #video-modal-overlay.visible #video-modal-container {
        transform: scale(1);
    }
    .video-modal-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
        background-color: #161b22;
        border-bottom: 1px solid #374151;
    }
    .video-modal-header h4 {
        margin: 0;
        font-size: 1em;
        font-weight: 600;
        color: #E5E7EB;
    }
    .video-modal-body {
        padding: 20px; /* Binago mula sa padding: 20px 20px 10px 20px; */
    }
    .video-modal-footer {
        display: flex;
        justify-content: flex-end;
        gap: 10px;
        padding: 15px 20px;
        background-color: #161b22;
    }
    .modal-btn {
        padding: 10px 20px;
        border: none;
        border-radius: 4px;
        font-weight: 600;
        font-size: 0.9em;
        cursor: pointer;
        transition: background-color 0.2s ease;
    }
    .modal-btn.btn-primary {
        background-color: #6366f1;
        color: #fff;
    }
    .modal-btn.btn-primary:hover {
        background-color: #4d4fba;
    }
    .modal-btn.btn-secondary {
        background-color: #374151;
        color: #fff;
    }
    .modal-btn.btn-secondary:hover {
        background-color: #4B5563;
    }
    .video-controls {
        display: flex;
        justify-content: flex-end;
        gap: 10px;
    }
    .video-controls .form-btn-link {
        background: none;
        border: none;
        font-weight: 600;
        font-size: 0.85em;
        cursor: pointer;
        padding: 4px 8px;
        border-radius: 4px;
        transition: background-color 0.2s ease;
        color: #A5B4FC;
    }
    .video-controls .form-btn-link:hover {
        background-color: rgba(165, 180, 252, 0.1);
    }
    .video-controls .form-btn-link.delete {
        background-color: #ff2d2d80;
        color: #fff;
    }
    .video-controls .form-btn-link.delete:hover {
        background-color: #dc2626;
    }
    .video-controls .form-btn-link.delete {
        background-color: #ff4545d2;
        color: #fff;
        border-color: transparent;
    }
    .video-controls .form-btn-link.delete:hover {
        background-color: #dc2626;
    }
    .video-controls .form-btn-link.delete {
        color: #ffffff;
    }
    .video-controls .form-btn-link.delete:hover {
        background-color: rgba(252, 165, 165, 0.1);
    }
    .publish-actions {
        display: flex;
        gap: 10px;
    }
    .btn-draft {
        background-color: #374151;
        color: #E5E7EB;
    }
    .btn-draft:hover {
        background-color: #4B5563;
    }
    .collapsible-header:hover label {
        text-decoration: underline;
        text-decoration-thickness: 2px;
    }
.pill {
    font-weight: 600;
    padding: 4px 12px; /* Ito ang magdidikta ng taas */
    border-radius: 50px !important;
    font-size: 0.75em;
    line-height: 1.5; /* Para sa proper vertical alignment ng text */
    width: fit-content;
    text-align: center;
    text-transform: capitalize;
}
    .status-published {
        color: #4ade80;
        background-color: rgba(74, 222, 128, 0.1);
    }
    .status-draft {
        color: #9CA3AF;
        background-color: rgba(156, 163, 175, 0.1);
    }
    .status-inreview {
        color: #fde047;
        background-color: rgba(253, 224, 71, 0.1);
    }
    .status-pending {
        color: #93c5fd;
        background-color: rgba(147, 197, 253, 0.1);
    }
    .status-rejected {
        color: #ff1e65;
        background-color: rgba(255, 12, 89, 0.199);
    }
    .category-script {
        color: #95a8ff;
        background-color: rgba(196, 181, 253, 0.1);
        padding: 2px 12px !important;
    }
    .category-blog {
        color: #6ee7b7;
        background-color: rgba(110, 231, 183, 0.1);
        padding: 2px 12px !important;
    }
    .category-codes {
        color: #fcd34d;
        background-color: rgba(252, 211, 77, 0.1);
        padding: 2px 12px !important;
    }
    .category-tutorial {
        color: #93c5fd;
        background-color: rgba(147, 197, 253, 0.1);
        padding: 2px 12px !important;
    }
    .projects-list-header.with-dividers .header-title:nth-child(n+3)::before {
        content: '|';
        color: #4B5563;
        margin-right: 20px;
        font-weight: normal;
    }
    .image-modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(17, 24, 39, 0.8);
        backdrop-filter: blur(5px);
        z-index: 2000;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
        box-sizing: border-box;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    .image-modal-overlay.visible {
        opacity: 1;
        visibility: visible;
    }
    #image-modal-container, .image-modal-container {
        background-color: #161b22;
        border: 1px solid #374151;
        border-radius: 12px;
        width: 100%;
        max-width: 600px;
        max-height: 90vh;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        transform: scale(0.95);
        transition: transform 0.3s ease;
        position: relative;
    }
    #image-modal-date {
        position: absolute;
        bottom: 16px;
        left: 20px;
        z-index: 5;
        background-color: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(5px);
        color: #fff;
        font-size: 0.75em;
        font-weight: 600;
        padding: 4px 12px;
        border-radius: 50px;
        margin: 0;
        line-height: 1.5;
    }
    .image-modal-overlay.visible #image-modal-container, .image-modal-overlay.visible .image-modal-container {
        transform: scale(1);
    }
    .image-modal-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
        border-bottom: 1px solid #374151;
        flex-shrink: 0;
    }
    #image-modal-title {
        margin: 0;
        font-size: 1.1em;
        font-weight: 600;
        color: #E5E7EB;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .image-modal-header h4 {
        margin: 0;
    }
    .image-modal-content {
        flex-grow: 1;
        padding: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: auto;
    }
    #image-modal-img {
        max-width: 100%;
        max-height: 100%;
        border-radius: 6px;
        object-fit: contain;
    }
    #image-modal-message {
        color: #9CA3AF;
        font-size: 1.1em;
        font-weight: 500;
    }
    #image-modal-content iframe {
        width: 100%;
        aspect-ratio: 16 / 9;
        border: none;
        border-radius: 6px;
    }
    .project-actions {
        position: relative;
        justify-self: end;
    }
    .project-options-btn {
        background-color: #2a3441;
        border: none;
        border-radius: 50%;
        width: 32px;
        height: 32px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #E5E7EB;
        transition: background-color 0.2s;
    }
    .project-options-btn:hover {
        background-color: #2e3745 !important;
        color: #fff;
    }
    .project-options-menu {
        position: absolute;
        top: 100%;
        right: 0;
        margin-top: 5px;
        background-color: #2a3441;
        border: 1px solid #4B5563;
        border-radius: 8px;
        width: 180px;
        z-index: 10;
        box-shadow: 0 8px 16px rgba(0,0,0,0.3);
        padding: 6px;
        display: flex;
        flex-direction: column;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.2s ease-out;
    }
    .project-options-menu.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        z-index: 99999 !important;
    }
    .option-item {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 8px 10px;
        border-radius: 4px;
        color: #D1D5DB;
        font-size: 0.85em;
        font-weight: 500;
        text-decoration: none;
        cursor: pointer;
    }
    .option-item:hover {
        background-color: #6366f1;
        color: #fff;
    }
    .option-item svg {
        width: 16px;
        height: 16px;
    }
    .option-divider {
        height: 1px;
        background-color: #4B5563;
        margin: 6px 0;
    }
    .option-item.delete:hover {
        background-color: #ef4444;
        color: #fff;
    }
    body.edit-mode #step-2 .btn-prev {
        display: none;
    }
    body.edit-mode #step-2 .form-navigation-btns {
        justify-content: flex-end;
    }
    #original-form-content-holder {
        visibility: hidden;
        opacity: 0;
        transform: translateY(10px);
        transition: opacity 0.5s ease, transform 0.5s ease;
    }
    body.edit-mode .category-card {
        cursor: not-allowed;
        pointer-events: none;
        opacity: 0.4;
    }
    body.edit-mode .category-card.selected {
        opacity: 1;
    }
    body.edit-mode .category-card:hover {
        border-color: #374151;
        background-color: #0d1116;
    }
    #edit-mode-note {
        display: none;
    }
    body.edit-mode #edit-mode-note {
        display: block;
    }
    #image-modal-content {
        flex-grow: 1;
        padding: 0;
        overflow: hidden;
        position: relative;
        width: 100%;
        aspect-ratio: 16 / 9;
    }
    #modal-image-container, #modal-video-container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
        box-sizing: border-box;
        transition: transform 0.4s ease-in;
    }
    #modal-slider-wrapper {
        display: flex;
        position: relative;
        width: 100%;
        height: 100%;
        transition: transform 0.4s ease-in-out;
    }
    #modal-image-container, #modal-video-container {
        position: relative;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
        box-sizing: border-box;
        transition: transform 0.4s ease-in-out;
    }
    #modal-image-container, #modal-video-container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        box-sizing: border-box;
        transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    #modal-image-container {
        transform: translateX(0%);
    }
    #modal-video-container {
        transform: translateX(100%);
    }
    #modal-image-container img, #modal-video-container iframe {
        width: 95%;
        height: 95%;
        object-fit: cover;
        border-radius: 6px;
    }
    .modal-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background-color: rgba(31, 41, 55, 0.6);
        border: 1px solid #4B5563;
        border-radius: 50%;
        width: 44px;
        height: 44px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        transition: background-color 0.2s ease;
        z-index: 10;
    }
    .modal-arrow:hover {
        background-color: rgba(55, 65, 81, 0.8);
    }
    .modal-arrow svg {
        width: 24px;
        height: 24px;
        fill: currentColor;
    }
    #modal-arrow-prev {
        left: 20px;
    }
    #modal-arrow-next {
        right: 20px;
    }
    #publish-modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(17, 24, 39, 0.7);
        backdrop-filter: blur(4px);
        z-index: 2000;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
        box-sizing: border-box;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    #publish-modal-overlay.visible {
        opacity: 1;
        visibility: visible;
    }
    #publish-modal-container {
        width: 100%;
        max-width: 450px;
        background-color: #161b22;
        border: 1px solid #374151;
        border-radius: 12px;
        box-sizing: border-box;
        transform: scale(0.95);
        transition: transform 0.3s ease;
        overflow: hidden;
    }
    #publish-modal-overlay.visible #publish-modal-container {
        transform: scale(1);
    }
    .project-stat-item, .project-earnings {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        background-color: #2a3441;
        border-radius: 50px;
        padding: 2px 12px;
        box-sizing: border-box;
        flex: 1;
    }
    .project-stats-desktop {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 10px;
        justify-content: center;
    }
    .project-author-desktop {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .project-author-name {
        font-weight: 500;
        font-size: 1.1em;
        color: #b7becb;
    }
    .project-author-avatar {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        overflow: hidden;
        flex-shrink: 0;
        border: 2px solid #75859b;
    }
    .project-author-avatar img, .project-author-avatar svg {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .project-stats-group {
        display: flex;
        gap: 8px;
    }
    .project-stat-item .stat-icon {
        width: 14px;
        height: 14px;
    }
    .project-stat-item i {
        font-size: 1em;
        color: #929dae;
        line-height: 0;
    }
    .create-new-btn {
        display: inline-flex;
        align-items: center;
        gap: 5px;
    }
    .create-new-btn svg {
        width: 20px;
        height: 20px;
    }
    .create-new-btn.bottom-btn svg {
        width: 16px;
        height: 16px;
    }
    .script-code-container:empty, .codes-introduction:empty, .game-codes-section:has(.codes-table:empty) {
        display: none;
    }
    .post-page-container {
        display: block;
        width: 100%;
        max-width: 1100px;
        margin: 40px auto;
        padding: 0 25px;
        box-sizing: border-box;
    }
    .post-layout-grid {
        display: grid;
        grid-template-columns: 1.5fr 1fr;
        gap: 25px;
        align-items: stretch;
        margin-bottom: 100px;
        max-width: 980px;
        margin-left: auto;
        margin-right: auto;
    }
    .post-thumbnail-container, .post-details-container {
        background-color: #1e2939f0;
        border: 1px solid #374151;
        border-radius: 8px;
        padding: 25px;
        box-sizing: border-box;
    }
    .post-thumbnail-container {
        width: 100%;
        border-radius: 12px;
        background-color: #161b224f;
        border: 1px solid #374151;
        padding: 25px;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .post-thumbnail-container {
        grid-column: 1 / 2;
    }
    .post-details-container {
        grid-column: 2 / 3;
    }
    .post-thumbnail-image, .video-embed-wrapper, .post-thumbnail-placeholder {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 12px;
        overflow: hidden;
        background-color: #0d1116;
    }
    .video-embed-wrapper iframe {
        border-radius: 12px;
    }
    .video-embed-wrapper iframe {
        width: 100%;
        height: 100%;
    }
    .post-details-container {
        text-align: left;
    }
    .post-details-container {
        padding: 0;
    }
    .post-details-header {
        padding: 20px 25px;
        border-bottom: 1px solid #374151;
        background-color: #0d111645;
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
    }
    .details-content-wrapper {
        padding: 25px;
    }
    .post-title {
        color: #fff;
        font-size: 1.3em;
        font-weight: 600;
        margin: 0;
    }
    .post-description {
        font-size: 0.9em;
        color: #9CA3AF;
    }
    .author-and-actions {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-top: 20px;
        border-top: 1px solid #374151;
    }
    .author-avatar-placeholder {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        border: 2px solid #7b8ba1;
        padding: 5px;
        box-sizing: border-box;
        color: #9CA3AF;
    }
    .author-username {
        font-weight: 600;
        color: #E5E7EB;
        text-decoration: none;
        transition: color 0.2s ease;
    }
    .author-username:hover {
        color: #fff;
        text-decoration: underline;
    }
    .post-interactions {
        display: flex;
        gap: 10px;
    }
    .interaction-btn {
        background-color: #374151;
        color: #D1D5DB;
        border: none;
        border-radius: 6px;
        padding: 8px 15px;
        font-weight: 600;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 8px;
        transition: background-color 0.2s;
    }
    .interaction-btn:hover {
        background-color: #4B5563;
    }
    .interaction-btn i {
        font-size: 1.1em;
    }
    .post-main-content {
        margin-top: 30px;
        text-align: left;
    }
    .post-section {
        margin-bottom: 35px;
    }
    .post-section h3 {
        font-size: 1.3em;
        font-weight: 600;
        color: #fff;
        margin-bottom: 15px;
        padding-bottom: 10px;
        border-bottom: 1px solid #374151;
    }
    .code-display {
        width: 100%;
        box-sizing: border-box;
        background-color: #0d1116;
        color: #E5E7EB;
        border: 1px solid #374151;
        border-radius: 6px;
        padding: 15px;
        font-family: 'Courier New', Courier, monospace;
        font-size: 0.9em;
        min-height: 150px;
        resize: vertical;
    }
    .content-container {
        color: #D1D5DB;
        line-height: 1.8;
    }
    .content-container {
        word-break: break-word;
    }
    .content-container p, .content-container li {
        font-size: 0.9em;
        font-weight: 500;
        line-height: 1.8;
        color: #D1D5DB;
    }
    .content-container p {
        margin: 0 0 1em 0;
    }
    .content-container ul, .content-container ol {
        padding-left: 25px;
        margin: 0 0 1em 0;
    }
    .content-container li {
        margin-bottom: 0.5em;
    }
    .content-container h2, .content-container h3, .content-container h4 {
        color: #fff;
        word-break: break-word;
    }
    .content-container strong {
        font-weight: 700;
        color: #fff;
    }
    .content-container img, .content-container iframe {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
    }
    .content-container h2, .content-container h3, .content-container h4 {
        color: #fff;
    }
    .codes-table {
        width: 100%;
        border-collapse: collapse;
        border: 1px solid #374151;
        border-radius: 6px;
        overflow: hidden;
    }
    .codes-table th, .codes-table td {
        padding: 12px 15px;
        border-bottom: 1px solid #374151;
        color: #E5E7EB !important;
    }
    .codes-table th {
        background-color: #374151;
        font-weight: 600;
        color: #E5E7EB;
    }
    .codes-table tr:last-child td {
        border-bottom: none;
    }
    .codes-table.expired td {
        color: #9CA3AF;
        text-decoration: line-through;
    }
    @media (max-width: 768px) {
        .post-layout-grid {
            grid-template-columns: 1fr;
        }
        .post-thumbnail-container {
            aspect-ratio: 16 / 9;
        }
        .author-and-actions {
            flex-direction: column;
            align-items: flex-start;
            gap: 15px;
        }
    }
    .post-meta-section {
        padding-top: 20px;
        border-top: 1px solid #374151;
        margin-top: 25px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .posted-by-container {
        text-align: left;
    }
    .posted-by-label {
        font-size: 0.9em;
        color: #a5b4fc;
        font-weight: 600;
    }
    .author-and-follow {
        display: flex;
        align-items: center;
        gap: 15px;
    }
    .author-info {
        display: flex;
        align-items: center;
        gap: 12px;
    }
    .post-details-container {
        display: flex;
        flex-direction: column;
        transition: transform 0.2s ease-in-out;
        min-width: 0;
    }
    .post-details-container:hover {
        transform: scale(1.02);
    }
    .details-content-wrapper {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        flex-grow: 1;
    }
    .post-meta-section {
        padding-top: 0;
        border-top: none;
        margin-top: 0;
        display: block;
    }
    .interaction-btn.icon-only {
        background: none;
        padding: 8px;
        border-radius: 6px;
        color: #9CA3AF;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .interaction-btn.icon-only .stat-icon {
        width: 18px;
        height: 18px;
    }
    .interaction-btn.icon-only span {
        font-size: 0.9em;
        font-weight: 600;
    }
    .interaction-btn.icon-only i {
        font-size: 1.2em;
    }
    .play-on-roblox-btn:hover {
        background-color: #4d4fba;
    }
    .details-top-section {
        padding-bottom: 20px;
        margin-bottom: 20px;
        border-bottom: 1px solid #374151;
    }
    .details-middle-section {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        margin-bottom: 50px;
    }
    .details-middle-section .posted-by-container {
        display: flex;
        align-items: center;
        gap: 15px;
    }
    .author-block {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .follow-btn {
        background-color: #374151;
        color: #fff;
        border: none;
        border-radius: 6px;
        padding: 8px 16px;
        font-weight: 600;
        font-size: 0.85em;
        cursor: pointer;
        transition: background-color 0.2s;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .follow-btn:hover {
        background-color: #4B5563;
    }
    .details-actions-footer {
        margin-top: auto;
    }
    .footer-button-group {
        display: flex;
        gap: 10px;
        margin-top: 20px;
    }
    .details-footer-btn {
        flex: 1;
        text-align: center;
        padding: 8px;
        border-radius: 4px;
        text-decoration: none;
        font-weight: 600;
        font-size: 0.9em;
        transition: all 0.2s ease;
        box-sizing: border-box;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }
    .details-footer-btn i {
        font-size: 0.9em;
        line-height: 0;
    }
    .btn-left {
        background-color: #161b22;
        border: 1.5px solid #374151;
        color: #E5E7EB;
    }
    .btn-left:hover {
        background-color: #374151;
    }
    .btn-right {
        background-color: #6366f1;
        border: 1px solid transparent;
        color: #fff;
    }
    .btn-right:hover {
        background-color: #4d4fba;
    }
    .details-bottom-section {
        margin-top: 25px;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(75px, 1fr));
        gap: 10px;
    }
    .interaction-btn.icon-only {
        background-color: #2F3C4E;
        color: #D1D5DB;
        border: none;
        border-radius: 4px;
        padding: 8px 12px;
        font-weight: 600;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 8px;
        transition: transform 0.2s ease, background-color 0.2s ease;
        min-width: 75px;
        justify-content: center;
    }
    .interaction-btn.icon-only:hover {
        transform: scale(0.5);
        background-color: #4B5563 !important;
    }
    .interaction-btn.icon-only svg {
        width: 20px;
        height: 20px;
        fill: currentColor;
        stroke: currentColor;
    }
    .interaction-btn.icon-only .interaction-count {
        font-size: 1em;
        font-weight: 600;
        color: inherit;
    }
    .interaction-btn .icon-filled {
        display: none;
    }
    .interaction-btn .icon-outline {
        display: block;
    }
    .interaction-btn.active .icon-filled {
        display: block;
    }
    .interaction-btn.active .icon-outline {
        display: none;
    }
    .interaction-btn.like-btn.active {
        color: #A5B4FC;
    }
    .interaction-btn.dislike-btn.active {
        color: #fca5a5;
    }
    .interaction-btn.icon-only svg {
        width: 20px;
        height: 20px;
        fill: currentColor;
    }
    .interaction-btn.icon-only svg {
        width: 26px;
        height: 26px;
    }
    .interaction-btn.like-btn svg, .interaction-btn.dislike-btn svg {
        width: 26px;
        height: 26px;
    }
    .interaction-btn.report-btn, .interaction-btn.report-btn:hover {
        color: hsl(0, 100%, 71%) !important;
    }
    .content-box {
        background-color: #161b22;
        border: 1px solid #374151;
        border-radius: 12px;
        margin-bottom: 30px;
        overflow: hidden;
    }.box-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 22px 20px;
        border-bottom: 1px solid #374151;
        background-color: #0d111645;
    }
    .box-title {
        font-size: 1.1em;
        font-weight: 600;
        color: #E5E7EB;
    }
    .header-actions {
        display: flex;
        gap: 10px;
    }
    .header-btn {
        background-color: #374151;
        color: #D1D5DB;
        border: none;
        border-radius: 4px;
        padding: 8px 18px;
        font-size: 0.9em;
        font-weight: 600;
        cursor: pointer;
        transition: background-color 0.2s ease;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        border: 1px solid transparent;
    }
    .header-btn:hover {
        background-color: #4B5563;
        color: #fff;
    }
    .box-body {
        padding: 30px;
    }
    .code-display {
        background-color: transparent;
        border: none;
        min-height: 100px;
        padding: 0;
        color: #9CA3AF;
    }
    .header-btn svg {
        width: 16px;
        height: 16px;
        stroke-width: 2;
    }
    .copy-btn {
        background-color: #2b374d;
        border: 1.5px solid #374151;
        color: #E5E7EB;
    }
    .copy-btn:hover {
        background-color: #232c3e;
    }
    .download-btn {
        background-color: #6366f1;
        color: #ffffff;
    }
    .download-btn:hover {
        background-color: #4d4fba;
    }
    pre[class*="language-"], code[class*="language-"] {
        background: none !important;
        text-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
        white-space: pre-wrap;
        word-break: break-all;
    }
    .box-body .code-display {
        display: block;
        width: 100%;
        box-sizing: border-box;
        font-family: 'Courier New', Courier, monospace;
        font-size: 0.9em;
        min-height: 0;
        color: #f8f8f2;
        resize: none;
    }
    .token.string {
        color: #e6db74;
    }
    .token.function {
        color: #66d9ef;
    }
    .token.keyword {
        color: #f92672;
    }
    .token.punctuation {
        color: #f8f8f2;
    }
    .explanation-box {
        background-color: #1d2838c7 !important;
        background-image: none !important;
    }
    .expandable-content {
        position: relative;
        overflow: hidden;
        transition: max-height 0.5s ease-in-out;
    }
    .expandable-content.collapsed {
        max-height: 200px;
    }
    .expandable-content.collapsed .fade-overlay {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 100px;
        background: linear-gradient(to bottom, transparent, #1B2435);
        pointer-events: none;
    }
    .load-more-style-btn {
        background: none;
        border: 1px solid #A5B4FC;
        color: #A5B4FC;
        font-weight: 600;
        font-size: 0.85em;
        cursor: pointer;
        padding: 8px 16px;
        border-radius: 4px;
        transition: all 0.2s ease;
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }
    .load-more-style-btn:hover {
        background-color: rgba(165, 180, 252, 0.1);
        color: #c7d2fe;
        border-color: #c7d2fe;
    }
    .expand-btn i {
        font-size: 1em;
        transition: transform 0.3s ease-in-out;
        transform: rotate(180deg);
        line-height: 0 !important;
    }
    .expand-btn.expanded i {
        transform: rotate(0deg);
    }
    .expand-btn:hover {
        background-color: #4B5563;
    }
    #status-confirm-modal-overlay, #profile-confirm-modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(17, 24, 39, 0.7);
        backdrop-filter: blur(4px);
        z-index: 2000;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
        box-sizing: border-box;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    #status-confirm-modal-overlay.visible {
        opacity: 1;
        visibility: visible;
    }
    #status-confirm-modal-container, #profile-confirm-modal-container {
        width: 100%;
        max-width: 400px;
        background-color: #161b22;
        border: 1px solid #374151;
        border-radius: 8px;
        box-sizing: border-box;
        transform: scale(0.95);
        transition: transform 0.3s ease;
        overflow: hidden;
    }
    #status-confirm-modal-overlay.visible #status-confirm-modal-container, #profile-confirm-modal-overlay.visible #profile-confirm-modal-container {
        transform: scale(1);
    }
    .sidebar-header-title {
        font-size: 0.8em;
        font-weight: 700;
        color: #9CA3AF;
        text-transform: uppercase;
        letter-spacing: 0.8px;
        pointer-events: none;
        padding: 10px 15px 5px 15px;
        margin-top: 10px;
        margin-bottom: 0;
    }
    .dashboard-nav .sidebar-header-title:first-child, .sidebar-user-nav .sidebar-header-title:first-child {
        margin-top: 0;
    }
    .user-dropdown .dropdown-link {
        display: flex;
        align-items: center;
        gap: 12px;
    }
    .user-dropdown .dropdown-icon {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
        color: #9CA3AF;
        transition: color 0.2s ease;
    }
    .user-dropdown .dropdown-link:hover .dropdown-icon {
        color: #ffffff;
    }
    .user-dropdown .dropdown-link.logout .dropdown-icon {
        color: #fca5a5;
    }
    .user-dropdown .dropdown-link.logout:hover .dropdown-icon {
        color: #ffffff;
    }
    .nav-user-icons {
        display: none;
        align-items: center;
        gap: 12px;
    }
    body.user-logged-in .nav-user-icons {
        display: flex;
    }
    .nav-icon-btn {
        background: none;
        border: none;
        padding: 6px;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #E5E7EB;
        transition: background-color 0.2s ease, color 0.2s ease;
    }
    .nav-icon-btn:hover {
        background-color: #374151;
        color: #fff;
    }
    .nav-icon-btn svg {
        width: 26px;
        height: 26px;
    }
    @media (max-width: 1170px) {
        .nav-right {
            gap: 12px;
        }
        .nav-user-icons {
            gap: 4px;
        }
    }
    body.user-logged-in .nav-user-icons {
        display: flex;
    }
    .notification-wrapper {
        position: relative;
    }
    .notification-dropdown {
        position: absolute;
        top: 100%;
        right: 0;
        margin-top: 20px !important;
        background-color: #161b22;
        border: 1px solid #374151;
        border-radius: 12px;
        width: 400px;
        z-index: 1100;
        box-shadow: 0 8px 16px rgba(0,0,0,0.3);
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
        
    }
    .notification-dropdown.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    .notification-header {
        padding: 12px 16px;
        font-weight: 600;
        color: #E5E7EB;
        border-bottom: 1px solid #374151;
    }
    .notification-body {
        padding: 20px 16px;
        text-align: center;
        color: #9CA3AF;
    }
    @media (max-width: 1170px) {
        .notification-dropdown {
            position: fixed;
            top: 65px;
            left: 50%;
            right: auto;
            margin-top: 0;
            transform: translateX(-50%) translateY(-10px);
        }
        .notification-dropdown.show {
            transform: translateX(-50%) translateY(0);
        }
    }
    .sidebar-profile-header {
        justify-content: space-between;
    }
    .sidebar-profile-header {
        display: flex;
        align-items: center;
        gap: 0px;
        justify-content: flex-start;
        margin-bottom: 15px;
    }
    .role-writer, .role-manager {
        font-weight: 600;
        padding: 0px 8px;
        border-radius: 12px;
        font-size: 0.6em;
        vertical-align: middle;
        margin-left: 0px;
        text-transform: capitalize;
    }
    .role-writer {
        color: #298cfd;
        background-color: rgba(0, 119, 255, 0.1);
        border: 1px solid #298cfd;
    }
    .role-manager {
        color: #fcd34d;
        background-color: rgba(252, 211, 77, 0.1);
        border: 1px solid #fcd34d;
    }
    #dashboard-loader {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #0d1116;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 9999;
        opacity: 1;
        visibility: visible;
        transition: opacity 0.5s ease, visibility 0.5s ease;
    }
    #dashboard-loader.fade-out {
        opacity: 0;
        visibility: hidden;
    }
    .spinner {
        width: 30px;
        height: 30px;
        border: 5px solid #374151;
        border-top: 5px solid #6366f1;
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }
    @keyframes spin {
        0% {
            transform: rotate(0deg);
        }
        100% {
            transform: rotate(360deg);
        }
    }
    .settings-tabs {
        display: flex;
        border-bottom: 1px solid #374151;
        margin-bottom: 20px;
    }
    .tab-btn {
        background: none;
        border: none;
        color: #9CA3AF;
        font-family: 'Open Sans', sans-serif;
        font-weight: 600;
        font-size: 0.9em;
        padding: 15px 20px;
        cursor: pointer;
        border-bottom: 3px solid transparent;
        transition: color 0.2s ease, border-color 0.2s ease;
    }
    .tab-btn:hover {
        color: #fff;
    }
    .tab-btn.active {
        color: #fff;
        border-bottom-color: #6366f1;
    }
    .settings-content-container {
        padding: 30px 40px;
        background-color: #161b22;
        border: 1px solid #374151;
        border-radius: 8px !important;
    }
    .settings-content > .settings-content-container + .settings-content-container {
        margin-top: 25px;
    }
    .settings-content {
        display: none;
        animation: fadeIn 0.5s ease;
    }
    .settings-content.active {
        display: block;
    }
    .settings-grid {
        display: flex;
        flex-direction: column;
    }
    .grid-item {
        display: grid;
        grid-template-columns: 1fr 1fr auto;
        gap: 20px;
        align-items: center;
        padding: 20px 0;
        border-bottom: 1px solid #374151;
    }
    .grid-item:last-child {
        border-bottom: none;
    }
    .grid-item-label h4 {
        margin: 0 0 4px 0;
        font-size: 0.9em;
        color: #E5E7EB;
        font-weight: 600;
    }
    .grid-item-label p {
        margin: 0;
        font-size: 0.8em;
        color: #9CA3AF;
    }
    .grid-item-value {
        color: #fff;
        font-size: 0.8em;
    }
    .grid-item-action {
        justify-self: end;
    }
    .form-btn.btn-secondary {
        background-color: #374151;
        color: #E5E7EB;
    }
    .grid-item-action .form-btn {
        padding: 8px 18px;
        font-size: 0.85em;
    }
    .form-btn.btn-secondary:not(:disabled):hover {
        background-color: #4B5563;
    }
    .notification-list {
        display: flex;
        flex-direction: column;
        gap: 20px;
        max-width: 600px;
    }
    .notification-item {
        display: flex;
        align-items: center;
        gap: 20px;
        padding: 15px 0;
        border-bottom: 1px solid #374151;
    }
    .notification-item:last-child {
        border-bottom: none;
    }
    .notification-text h4 {
        margin: 0 0 4px 0;
        font-weight: 600;
        color: #E5E7EB;
    }
    .notification-text p {
        margin: 0;
        font-size: 0.85em;
        color: #9CA3AF;
    }
    .danger-zone-container {
        border: 2px solid #ef4444;
        border-radius: 8px;
        padding: 20px;
        background-color: rgba(239, 68, 68, 0.05);
    }
    .danger-action {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .danger-action h4 {
        color: #fca5a5;
        margin: 0 0 5px 0;
        font-weight: 700;
    }
    .danger-action p {
        color: #9CA3AF;
        font-size: 0.9em;
        margin: 0;
    }
    .form-btn.btn-danger {
        background-color: #ef4444;
    }
    .form-btn.btn-danger:hover {
        background-color: #dc2626;
    }
    @media (max-width: 768px) {
        .settings-tabs {
            padding: 0 10px;
        }
        .tab-btn {
            padding: 12px 10px;
            font-size: 0.8em;
        }
        .settings-content-container {
            padding: 20px;
        }
        .grid-item {
            grid-template-columns: 1fr;
            gap: 10px;
            text-align: left;
        }
        .grid-item-action {
            justify-self: start;
        }
        .danger-action {
            flex-direction: column;
            align-items: flex-start;
            gap: 15px;
        }
    }
    .form-btn svg {
        width: 16px;
        height: 16px;
    }
    .profile-page-container {
        display: flex;
        flex-direction: column;
        gap: 0px;
    }
    .profile-header {
        display: flex;
        align-items: center;
        gap: 20px;
        padding-bottom: 25px;
        margin-bottom: 25px;
        border-bottom: 1px solid #374151;
    }
    #view-profile-btn {
        margin-left: auto;
    }
    .profile-avatar-large {
        width: 100px;
        height: 100px;
        background-color: #374151;
        border-radius: 50%;
        flex-shrink: 0;
        cursor: pointer;
    }
    .profile-header-info h3 {
        margin: 0 0 4px 0;
        color: #fff;
        font-size: 1.2em;
    }
    .profile-link {
        color: #9CA3AF;
        font-size: 0.9em;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 2px;
    }
    .profile-link svg {
        width: 16px;
        height: 16px;
        stroke-width: 2.5;
    }
    .profile-link:hover {
        text-decoration: underline;
    }
    .profile-section {
        background-color: #161b22;
        border: 1px solid #374151;
        border-radius: 8px;
        padding: 25px;
        display: grid;
        grid-template-columns: 1fr 2fr;
        gap: 40px;
        margin-bottom: 25px;
    }
    .profile-section-label h4 {
        margin: 0 0 5px 0;
        font-weight: 600;
        color: #fff;
    }
    .profile-section-label p {
        margin: 0;
        font-size: 0.9em;
        color: #9CA3AF;
    }
    .profile-section-content {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    .profile-section-content textarea.form-input {
        min-height: 80px;
    }
    .url-input-group {
        display: flex;
        align-items: center;
        border: 1px solid #4B5563;
        border-radius: 6px;
        background-color: #0d1116;
    }
    .url-input-group span {
        padding: 0 12px;
        color: #9CA3AF;
        font-size: 0.9em;
        border-right: 1px solid #4B5563;
    }
    .url-input-group input.form-input {
        border: none;
        background: none;
        flex-grow: 1;
    }
    .url-input-group input.form-input:focus {
        box-shadow: none;
    }
    .logo-upload-area {
        display: flex;
        align-items: center;
        gap: 20px;
    }
    .logo-preview-small {
        width: 64px;
        height: 64px;
        background-color: #374151;
        border-radius: 50%;
        flex-shrink: 0;
    }
    .drop-zone {
        flex-grow: 1;
        border: 2px dashed #374151;
        border-radius: 8px;
        padding: 15px;
        text-align: center;
        cursor: pointer;
        transition: border-color 0.2s;
    }
    .drop-zone:hover {
        border-color: #6366f1;
    }
    .drop-zone-icon {
        width: 40px;
        height: 40px;
        background-color: #374151;
        border-radius: 50%;
        margin: 0 auto 10px auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .drop-zone-icon svg {
        width: 24px;
        height: 24px;
        color: #9CA3AF;
    }
    .drop-zone span {
        display: block;
        font-size: 0.9em;
        color: #D1D5DB;
    }
    .drop-zone span b {
        color: #A5B4FC;
    }
    .drop-zone .drop-zone-specs {
        font-size: 0.8em;
        color: #9CA3AF;
        margin-top: 4px;
    }
    .profile-actions-footer {
        display: flex;
        justify-content: flex-end;
        gap: 12px;
        margin-top: 0px;
    }
    #profile-bio {
        resize: vertical;
    }
    @media (max-width: 768px) {
        .profile-section {
            grid-template-columns: 1fr;
            gap: 15px;
        }
    }
    .profile-avatar-large, .logo-preview-small {
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }
    .profile-avatar-svg {
        width: 50%;
        height: 50%;
        color: #9CA3AF;
    }
    .profile-avatar-large.public {
        width: 120px;
        height: 120px;
    }
    .profile-header-info.public {
        margin-top: 10px;
    }
    .profile-header-info.public h1 {
        font-size: 2em;
        margin: 0 0 10px 0;
    }
    .profile-bio {
        color: #D1D5DB;
        line-height: 1.7;
        margin: 0 0 20px 0;
    }
    .profile-socials {
        display: flex;
        gap: 15px;
    }
    .profile-socials a {
        color: #9CA3AF;
        transition: color 0.2s ease;
    }
    .profile-socials a:hover {
        color: #fff;
    }
    .profile-socials svg {
        width: 24px;
        height: 24px;
    }
    .profile-posts-section h2 {
        font-size: 1.5em;
        color: #fff;
        border-bottom: 1px solid #374151;
        padding-bottom: 15px;
        margin-bottom: 25px;
    }
    .profile-posts-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }
    @media (min-width: 640px) {
        .profile-posts-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }
    @media (min-width: 900px) {
        .profile-posts-grid {
            grid-template-columns: repeat(3, 1fr);
        }
    }
    @media (min-width: 1200px) {
        .profile-posts-grid {
            grid-template-columns: repeat(4, 1fr);
        }
    }
    .profile-post-card {
        background-color: #161b22;
        border: 1px solid #374151;
        border-radius: 8px;
        overflow: hidden;
        text-decoration: none;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    .post-card-thumbnail {
        width: 100%;
        aspect-ratio: 16 / 9;
        background-size: cover;
        background-position: center;
        border-bottom: 1px solid #374151;
        overflow: hidden;
        position: relative;
    }
    .post-card-info {
        padding: 15px;
    }
    .post-card-info h3 {
        margin: 0 0 10px 0;
        font-size: 1em;
        color: #E5E7EB;
        line-height: 1.4;
    }
    .post-card-category {
        font-size: 0.8em;
        font-weight: 600;
        color: #A5B4FC;
    }
    .no-posts-message {
        color: #9CA3AF;
        text-align: center;
        padding: 40px 0;
    }
    .profile-posts-section {
        width: 100%;
    }
    .profile-header.public {
        background-color: #161b22;
        border-radius: 6px;
        padding: 30px;
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto auto;
        gap: 0 30px;
        align-items: center;
        border: 1px solid #374151;
        position: relative;
        text-align: left;
    }
    .profile-header-info.public h1 {
        font-size: 2.5em;
        margin-top: 0;
        margin-bottom: 5px;
        z-index: 2;
    }
    .profile-bio {
        max-width: 100%;
        z-index: 2;
        margin: 0 0 5px 0;
    }
    .profile-stats {
        display: flex;
        gap: 20px;
        margin: 0;
        padding: 0;
        background-color: transparent;
        border-radius: 0;
        z-index: 2;
        margin-bottom: 20px;
    }
    .stat-item {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .stat-item strong {
        font-size: 1.2em;
        color: #fff;
    }
    .stat-item span {
        font-size: 0.8em;
        color: #9CA3AF;
    }
    .stat-divider {
        width: 1px;
        background-color: #374151;
    }
    .profile-tabs {
        display: flex;
        justify-content: flex-start;
        gap: 10px;
        margin-bottom: 30px;
    }
    .profile-tabs .tab-btn {
        font-size: 0.9em;
        padding: 8px 16px;
        border-bottom: 2px solid transparent;
    }
    .profile-tabs .tab-btn.active {
        border-bottom-color: #6366f1;
    }
    .profile-post-card {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    .post-card-content {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        flex-grow: 1;
        padding: 15px;
    }
    .post-card-info h3 {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        min-height: 2.8em;
    }
    .post-card-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid #374151;
    }
    .post-card-author {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 12px;
    }
    .author-avatar {
        width: 28px;
        height: 28px;
        flex-shrink: 0;
        border-radius: 50%;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #4B5563;
        border: 2px solid #677ea2;
    }
    .author-avatar img, .author-avatar svg {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .post-card-stats {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 0.75em;
        color: #9CA3AF;
    }
    .post-card-stats .stat-divider {
        width: 4px;
        height: 4px;
        background-color: #4B5563;
        border-radius: 50%;
    }
    .profile-page-container.public-view {
        max-width: 1100px;
    }
    .profile-avatar-large.public {
        width: 150px;
        height: 150px;
        border-radius: 50%;
        border: 4px solid #9ca3af;
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
        z-index: 2;
        grid-row: 1 / 4;
    }
    .profile-header-info.public h1 {
        font-size: 2.5em;
        margin-top: 0;
        margin-bottom: 5px;
        z-index: 2;
    }
    .profile-bio {
        max-width: 100%;
        z-index: 2;
        margin: 0 0 5px 0;
        color: #D1D5DB;
        line-height: 1.7;
    }
    .profile-stats {
        display: flex;
        gap: 20px;
        margin: 0;
        padding: 0;
        background-color: transparent;
        border-radius: 0;
        z-index: 2;
        margin-bottom: 20px;
    }
    .profile-info-wrapper {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        flex-grow: 1;
    }
    .profile-stats-and-socials {
        display: flex;
        align-items: center;
        gap: 25px;
        margin-top: 15px;
    }
    .stat-item {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    .stat-item strong {
        font-size: 1.2em;
        color: #fff;
    }
    .stat-item span {
        font-size: 0.8em;
        color: #9CA3AF;
    }
    .stat-divider {
        width: 1px;
        background-color: #374151;
    }
    .profile-socials {
        display: flex;
        gap: 15px;
        z-index: 2;
    }
    .profile-socials a {
        color: #9CA3AF;
        transition: color 0.2s ease;
    }
    .profile-socials a:hover {
        color: #fff;
    }
    .profile-socials svg {
        width: 24px;
        height: 24px;
    }
    .profile-tabs .tab-btn {
        font-size: 0.9em;
        padding: 8px 16px;
        border-bottom: 2px solid transparent;
    }
    .profile-tabs .tab-btn.active {
        border-bottom-color: #6366f1;
    }
    .profile-posts-section h2 {
        font-size: 1.5em;
        color: #fff;
        border-bottom: 1px solid #374151;
        padding-bottom: 15px;
        margin-bottom: 25px;
    }
    .profile-posts-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }
    @media (min-width: 640px) {
        .profile-posts-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }
    @media (min-width: 900px) {
        .profile-posts-grid {
            grid-template-columns: repeat(3, 1fr);
        }
    }
    @media (min-width: 1200px) {
        .profile-posts-grid {
            grid-template-columns: repeat(4, 1fr);
        }
    }
    .profile-post-card {
        background-color: rgba(31, 41, 55, 0.4);
        border: 1px solid #374151;
        border-radius: 8px;
        overflow: hidden;
        text-decoration: none;
        transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
        display: flex;
        flex-direction: column;
    }
    .profile-post-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.2);
        border-color: #4B5563;
        background-color: #161b22;
    }
    .post-card-thumbnail {
        width: 100%;
        aspect-ratio: 16 / 9;
        position: relative;
    }
    .post-card-thumbnail img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease-in-out;
    }
    .profile-post-card:hover .post-card-thumbnail img {
        transform: scale(1.05);
    }
    .post-thumbnail-container:hover .media-clipper img, .post-thumbnail-container:hover .media-clipper .post-slider-wrapper {
        transform: scale(1.05);
    }
    .post-card-content {
        padding: 15px;
        text-align: left;
    }
    .post-card-content h3 {
        margin: 0 0 8px 0;
        font-size: 1em;
        color: #E5E7EB;
        line-height: 1.4;
        font-weight: 600;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        min-height: 2.8em;
    }
    .post-card-author-name {
        font-size: 0.85em;
        font-weight: 500;
        color: #9CA3AF;
    }
    .post-card-meta {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 0.8em;
        color: #9CA3AF;
    }
    .meta-dot {
        width: 4px;
        height: 4px;
        background-color: #4B5563;
        border-radius: 50%;
    }
    .post-thumbnail-container {
        position: relative;
        overflow: hidden;
        padding: 25px;
        background-color: #161b224f;
        border: 1px solid #374151;
        border-radius: 8px;
        aspect-ratio: 16 / 9;
    }
    .post-slider-wrapper {
        display: grid;
        width: 100%;
        height: 100%;
    }
    .post-slide {
        grid-column: 1 / 1;
        grid-row: 1 / 1;
        width: 100%;
        height: 100%;
        box-sizing: border-box;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
    }
    .post-slide.active {
        opacity: 1;
        visibility: visible;
        z-index: 2;
    }
    .post-slide img, .post-slide iframe {
        width: 100%;
        height: 100%;
        border-radius: 8px;
        object-fit: cover;
    }
    .post-slide iframe {
        width: 100%;
        height: 100%;
    }
    .post-arrow {
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    .post-thumbnail-container:hover .post-arrow {
        opacity: 1;
    }
    #post-arrow-prev {
        left: 15px;
    }
    #post-arrow-next {
        right: 15px;
    }
    .profile-username-wrapper {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 20px;
        grid-column: 1 / -1;
    }
    #profile-header-username {
        margin: 0;
    }
    .interaction-btn.active {
        color: #fff;
    }
    #rejection-reason-modal-overlay.visible {
        opacity: 1;
        visibility: visible;
    }
    #rejection-reason-modal-container {
        width: 100%;
        max-width: 500px;
        background-color: #161b22;
        border: 1px solid #374151;
        border-radius: 12px;
        box-sizing: border-box;
        transform: scale(0.95);
        transition: transform 0.3s ease;
        overflow: hidden;
    }
    #rejection-reason-modal-overlay.visible #rejection-reason-modal-container {
        transform: scale(1);
    }
    .status-banner {
        display: flex;
        align-items: center;
        gap: 15px;
        padding: 15px 20px;
        border-radius: 8px;
        margin-bottom: 25px;
        border: 1px solid transparent;
    }
    .banner-icon-wrapper {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
        display: flex;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 4px;
        margin-top: 6px;
    }
    .banner-icon {
        width: 25px;
        height: 25px;
    }
    .banner-message {
        margin: 0;
        font-size: 0.8em;
        font-weight: 500;
        line-height: 1.6;
        text-align: left;
    }
    .status-banner.status-published {
        background-color: rgba(74, 222, 128, 0.1);
    }
    .status-banner.status-published .banner-icon-wrapper {
        background-color: #22c55e;
    }
    .status-banner.status-published .banner-message {
        color: #a7f3d0;
    }
    .status-banner.status-in-review {
        background-color: rgba(253, 224, 71, 0.1);
    }
    .status-banner.status-in-review .banner-icon-wrapper {
        background-color: #cfb21e;
    }
    .status-banner.status-in-review .banner-message {
        color: #e4d252;
    }
    .status-banner.status-rejected {
        background-color: rgba(239, 68, 68, 0.1);
    }
    .status-banner.status-rejected .banner-icon-wrapper {
        background-color: #ef4444;
    }
    .status-banner.status-rejected .banner-message {
        color: #fca5a5;
    }
    .banner-icon {
        color: #fff;
    }
    .form-layout-grid {
        display: block; /* O alisin mo na lang ang buong rule na ito */
    }
    .create-header {
        grid-column: 1 / 2;
        display: block;
        padding-bottom: 0;
        margin-bottom: 0;
    }
    #edit-status-banner {
        grid-column: 2 / 3;
        margin-bottom: 0;
    }
    .form-sidebar {
        grid-column: 1 / 2;
    }

    .form-steps-header, .form-sidebar {
        width: 100%;
    }
    .form-content {
        grid-column: 2 / 3;
    }
    @media (max-width: 900px) {
        .form-layout-grid {
            grid-template-columns: 1fr;
        }
        .create-header, #edit-status-banner, .form-sidebar, .form-content {
            grid-column: 1 / -1;
        }
        .create-header {
            order: -2;
        }
        .form-sidebar {
            order: -1;
        }
    }
    .notification-badge {
        position: absolute;
        top: 2px;
        right: 2px;
        min-width: 18px;
        height: 18px;
        background-color: #ef4444;
        border-radius: 50%;
        z-index: 1;
        transition: transform 0.2s ease;
        color: white;
        font-size: 0.7em;
        font-weight: 700;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 4px;
        box-sizing: border-box;
        line-height: 1;
    }
    .notification-badge.hidden {
        transform: scale(0);
    }
    .notification-wrapper {
        position: relative;
    }
    .notification-body {
        padding: 0;
        max-height: 400px;
        overflow-y: auto;
        min-height: 350px; /* <-- ITO ANG IDINAGDAG */
    }
    .notification-item {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        padding: 12px 16px;
        border-bottom: 1px solid #374151;
        text-align: left;
        text-decoration: none;
        color: #D1D5DB;
        transition: background-color 0.2s ease;
    }
    .notification-item:last-child {
        border-bottom: none;
    }
    .notification-item:hover {
        background-color: #374151;
    }
    .notification-item.unread {
        background-color: rgba(103, 61, 230, 0.1);
    }
    .notification-icon {
        width: 36px;
        height: 36px;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 12%;
    }
    .notification-icon svg {
        width: 20px;
        height: 20px;
        color: #fff;
    }
    .notification-icon.approved {
        background-color: #22c55e;
    }
    .notification-icon.rejected {
        background-color: #ef4444;
    }

    .notification-icon.follow {
        padding: 0; /* Alisin ang padding para sakto ang image */
        border-radius: 50%; /* Gawing bilog ang container */
        overflow: hidden; /* Itago ang mga sulok ng image na lalagpas */
        border: 1px solid #4B5563; /* Opsyonal: magandang maglagay ng border */
    }

    .notification-icon.follow img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* Siguraduhing sakop ng image ang buong bilog nang hindi nadidistort */
    }
    .notification-details {
        flex-grow: 1;
    }
    .notification-message {
        font-size: 0.9em;
        line-height: 1.5;
        margin: 0 0 4px 0;
    }
    .notification-message strong {
        color: #fff;
    }
    .notification-message em {
        color: #fca5a5;
        font-style: normal;
    }
    .notification-timestamp {
        font-size: 0.75em;
        color: #9CA3AF;
    }
    .profile-page-container h1 {
        color: #E5E7EB;
        font-size: 1.8em;
        text-align: left;
        margin-bottom: 1px;
    }
    #liked-posts-title {
        display: none;
    }
    .interaction-btn .icon-filled {
        display: none;
    }
    .interaction-btn.active .icon-filled {
        display: block;
    }
    .interaction-btn.active .icon-outline {
        display: none;
    }
    .interaction-btn.like-btn.active {
        color: #A5B4FC;
    }
    .interaction-btn.dislike-btn.active {
        color: #fca5a5;
    }
    .interaction-btn.icon-only {
        color: #D1D5DB;
        background-color: #2F3C4E;
        border-radius: 4px;
        padding: 8px 15px;
        transition: all 0.2s ease;
    }
    .interaction-btn.icon-only:hover {
        background-color: transparent;
        color: #ffffff;
        transform: scale(1.15);
    }
    .interaction-btn.like-btn.active, .interaction-btn.like-btn.active:hover {
        color: #A5B4FC;
    }
    .interaction-btn.dislike-btn.active, .interaction-btn.dislike-btn.active:hover {
        color: #fca5a5;
    }
    #report-modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(17, 24, 39, 0.7);
        backdrop-filter: blur(4px);
        z-index: 2000;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
        box-sizing: border-box;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    #report-modal-overlay.visible {
        opacity: 1;
        visibility: visible;
    }
    #report-modal-container {
        width: 100%;
        max-width: 450px;
        background-color: #161b22;
        border: 1px solid #374151;
        border-radius: 12px;
        box-sizing: border-box;
        transform: scale(0.95);
        transition: transform 0.3s ease;
        overflow: hidden;
    }
    #report-modal-overlay.visible #report-modal-container {
        transform: scale(1);
    }
    .report-options-container {
        display: flex;
        flex-direction: column;
        gap: 5px;
        transition: opacity 0.3s ease, transform 0.3s ease;
    }
    .report-options-container label {
        display: flex;
        align-items: center;
        padding: 12px;
        border-radius: 6px;
        cursor: pointer;
        transition: background-color 0.2s ease;
        border: 1px solid transparent;
    }
    .report-options-container label:hover {
        background-color: #374151;
    }
    .report-options-container input[type="radio"] {
        display: none;
    }
    .report-options-container label span {
        color: #D1D5DB;
        font-size: 0.9em;
        padding-left: 30px;
        position: relative;
        line-height: 22px;
    }
    .report-options-container label span::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 18px;
        height: 18px;
        border: 2px solid #6B7280;
        border-radius: 50%;
        transition: border-color 0.2s;
        box-sizing: border-box;
    }
    .report-options-container label span::after {
        content: '';
        position: absolute;
        left: 4px;
        top: 50%;
        transform: translateY(-50%) scale(0);
        width: 10px;
        height: 10px;
        background-color: #6366f1;
        border-radius: 50%;
        transition: transform 0.2s ease;
    }
    .report-options-container input[type="radio"]:checked + span::before {
        border-color: #6366f1;
    }
    .report-options-container input[type="radio"]:checked + span::after {
        transform: translateY(-50%) scale(1);
    }
    .back-to-reasons-btn {
        background: none;
        border: none;
        color: #A5B4FC;
        font-weight: 600;
        cursor: pointer;
        padding: 4px 8px;
        margin-left: -8px;
        font-size: 0.9em;
        display: none;
        margin-bottom: 15px;
        align-items: center;
        gap: 6px;
        border-radius: 4px;
        transition: background-color 0.2s ease;
    }
    .back-to-reasons-btn:hover {
        background-color: rgba(165, 180, 252, 0.1);
    }
    .back-to-reasons-btn svg {
        width: 20px;
        height: 20px;
        fill: currentColor;
    }
    #report-other-reason-input {
        min-height: 120px;
        resize: none;
    }
    #report-success-modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(17, 24, 39, 0.7);
        backdrop-filter: blur(4px);
        z-index: 2001;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
        box-sizing: border-box;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    #report-success-modal-overlay.visible {
        opacity: 1;
        visibility: visible;
    }
    #report-success-modal-container {
        width: 100%;
        max-width: 400px;
        background-color: #161b22;
        border: 1px solid #374151;
        border-radius: 12px;
        box-sizing: border-box;
        transform: scale(0.95);
        transition: transform 0.3s ease;
        overflow: hidden;
        padding: 40px 20px;
        text-align: center;
    }
    #report-success-modal-overlay.visible #report-success-modal-container {
        transform: scale(1);
    }
    .success-modal-icon {
        width: 64px;
        height: 64px;
        color: #22c55e;
        margin-bottom: 20px;
    }
    .success-modal-title {
        font-size: 1.4em;
        font-weight: 600;
        color: #fff;
        margin: 0 0 10px 0;
    }
    .success-modal-subtitle {
        color: #9CA3AF;
        margin: 0;
        line-height: 1.6;
    }
    .media-wrapper {
        position: relative;
        width: 100%;
        z-index: 1;
    }
    .media-wrapper::before {
        content: '';
        position: absolute;
        inset: -10px;
        background-image: var(--thumbnail-url);
        background-size: cover;
        background-position: center;
        filter: blur(20px);
        opacity: 0.6;
        z-index: -1;
        transition: opacity 0.3s ease;
    }
    .media-wrapper::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 35%;
        pointer-events: none;
        z-index: 3;
        border-radius: 0 0 8px 8px;
    }
    .media-clipper {
        position: relative;
        width: 100%;
        aspect-ratio: 16 / 9;
        border-radius: 12px;
        overflow: hidden;
        z-index: 1;
    }
    .media-clipper img, .media-clipper .post-slider-wrapper {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease-in-out;
        z-index: 2;
    }
    .post-thumbnail-container:hover .media-wrapper img, .post-thumbnail-container:hover .media-wrapper .post-slider-wrapper {
        transform: scale(1.02);
    }
    #share-modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(17, 24, 39, 0.7);
        backdrop-filter: blur(4px);
        z-index: 2000;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
        box-sizing: border-box;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    #share-modal-overlay.visible {
        opacity: 1;
        visibility: visible;
    }
    #share-modal-container {
        width: 100%;
        max-width: 500px;
        background-color: #161b22;
        border: 1px solid #374151;
        border-radius: 12px;
        box-sizing: border-box;
        transform: scale(0.95);
        transition: transform 0.3s ease;
        overflow: hidden;
    }
    #share-modal-overlay.visible #share-modal-container {
        transform: scale(1);
    }
    .share-link-wrapper {
        display: flex;
        gap: 10px;
    }
    #post-share-link-input {
        flex-grow: 1;
        background-color: #374151;
        cursor: text;
    }
    #copy-share-link-btn {
        flex-shrink: 0;
        padding: 0 20px;
    }
    .social-share-buttons {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .social-share-buttons .social-btn {
        border-radius: 4px;
        padding: 10px;
        font-size: 0.9em;
        text-decoration: none;
        gap: 12px;
    }
    .social-share-buttons .social-btn i {
        font-size: 1.2em;
    }
    .social-share-buttons .social-btn {
        color: #fff !important;
    }
    #share-facebook {
        background-color: #1877F2;
        border-color: #1877F2;
    }
    #share-facebook:hover {
        background-color: #1876f2ae;
        border-color: #1876f2b1;
    }
    #share-twitter {
        background-color: #000000;
        border-color: #15151a;
    }
    #share-twitter:hover {
        background-color: #181717;
        border-color: #000000;
    }
    #share-reddit {
        background-color: #FF4500;
        border-color: #d95f10;
    }
    #share-reddit:hover {
        background-color: #ff4400ab;
        border-color: #ff4400b1;
    }
    #share-telegram {
        background-color: #0088cc;
        border-color: #0077B5;
    }
    #share-telegram:hover {
        background-color: rgba(0, 118, 181, 0.683);
        border-color: #0088cc9e;
    }
    .create-post-btn {
        display: none;
    }
    body.user-logged-in .create-post-btn {
        display: inline-flex;
    }
    #main-nav .create-post-btn {
        background-color: #374151;
        color: #fff;
        border-radius: 50px;
    }
    #main-nav .create-post-btn:hover {
        background-color: #424e61;
        transform: scale(1.05);
    }
    @media (max-width: 1170px) {
        #main-nav .create-post-btn {
            display: none !important;
        }
    }
    .create-post-btn.mobile {
        margin-top: 0px;
        text-align: center;
        padding: 6px 20px;
        font-size: 1em;
        background-color: #4b5563;
        color: #fff;
        width: 100%;
        border-radius: 8px;
        box-sizing: border-box;
    }
    .create-post-btn.mobile:hover {
        background-color: #424e61;
    }
    #profile-follow-btn, #profile-edit-btn {
        padding: 8px 16px;
        font-size: 0.85em;
        font-weight: 600;
        border-radius: 4px;
        flex-shrink: 0;
        height: fit-content;
        line-height: 1.5;
    }
    #profile-edit-btn.form-btn {
        padding: 6px 14px;
    }
    .profile-post-card.hidden {
        display: none;
    }
    #page-loader {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 3px;
        background-color: #6366f1;
        z-index: 9999;
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    }
    @keyframes fake-loading {
        0% {
            transform: scaleX(0);
        }
        25% {
            transform: scaleX(0.4);
        }
        50% {
            transform: scaleX(0.7);
        }
        75% {
            transform: scaleX(0.9);
        }
        100% {
            transform: scaleX(1);
        }
    }
    body.loading-done #page-loader {
        opacity: 0;
        transition: opacity 0.5s ease 0.3s;
    }
    .like-percentage-pill {
        position: absolute;
        top: 10px;
        left: 10px;
        z-index: 2;
        background-color: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(5px);
        color: #fff;
        display: flex;
        align-items: center;
        gap: 4px;
        font-size: 0.7em;
        padding: 2px 10px;
        height: 22px;
        line-height: 22px;
    }
    .like-percentage-pill i {
        font-size: 0.9em;
        color: #d5d5d5;
    }
    .key-system-toggle-container {
        display: flex;
        background-color: #0d1116;
        border: 1px solid #4B5563;
        border-radius: 6px;
        padding: 4px;
        width: fit-content;
    }
    .key-system-toggle-btn {
        background: none;
        border: none;
        color: #9CA3AF;
        font-family: 'Open Sans', sans-serif;
        font-weight: 600;
        font-size: 0.85em;
        padding: 8px 16px;
        border-radius: 4px;
        cursor: pointer;
        transition: all 0.2s ease-in-out;
    }
    .key-system-toggle-btn.active {
        background-color: #374151;
        color: #fff;
        box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    }
    .key-status-pill {
        position: absolute;
        bottom: 10px;
        right: 10px;
        z-index: 3;
        backdrop-filter: blur(5px);
        color: #fff !important;
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 0.7em;
        padding: 2px 12px;
        height: auto;
        line-height: 1.5;
    }
    .key-status-pill.status-no-key {
        color: #3b3d3c !important;
        background-color: rgb(244 255 245 / 80%);
    }
    .key-status-pill.status-with-key {
        color: #4d3d06 !important;
        background-color: rgb(255 201 25);
    }
    .key-status-pill i {
        font-size: 1.0em;
    }
    .status-publishing {
        color: #A5B4FC !important;
        background-color: rgba(165, 180, 252, 0.1) !important;
    }
    .verified-badge {
        color: #0077ff;
        font-size: 0.8em;
        margin-left: 2px;
        display: inline-flex;
        align-items: center;
        vertical-align: middle;
        cursor: help;
    }
    .author-info, .project-name, .dropdown-username, #sidebar-username-display, .post-card-author, #profile-header-username {
        display: flex;
        align-items: center;
        gap: 2px;
    }
    #profile-header-username .verified-badge {
        font-size: 0.7em;
    }
    .status-banner.status-info {
        background-color: rgba(99, 102, 241, 0.1);
    }
    .status-banner.status-info .banner-icon-wrapper {
        background-color: #6366f1;
    }
    .status-banner.status-info .banner-message {
        color: #c7d2fe;
    }
    @media (max-width: 900px) {
        .create-header {
            order: 1;
        }
        #create-info-banner {
            order: 2;
        }
        .form-sidebar {
            order: 3;
        }
        .form-content {
            order: 4;
        }
        .create-header h1 {
            text-align: center;
            width: 100%;
        }
        .form-sidebar {
            padding: 15px 0;
        }
        .sidebar-step {
            align-items: center;
            justify-content: center;
            position: relative;
        }

        .step-number {
            z-index: 2;
            background-color: #0d1116;
        }
    }
    @media (max-width: 768px) {
        #step-4 .form-navigation-btns {
            flex-wrap: wrap;
        }
        #step-4 .publish-actions {
            display: contents;
        }
        #step-4 .btn-prev {
            order: 1;
            flex-basis: calc(50% - 7.5px);
        }
        #step-4 .btn-publish {
            order: 2;
            flex-basis: calc(50% - 7.5px);
        }
        #step-4 .btn-draft {
            order: 3;
            flex-basis: 100%;
        }
        .form-navigation-btns {
            gap: 15px;
        }
        .category-cards-container {
            grid-template-columns: 1fr;
        }
        .form-navigation-btns .form-btn {
            flex: 1;
            justify-content: center;
        }
        .form-content {
            padding: 25px 20px;
        }
        .step-title-wrapper {
            flex-direction: column;
            align-items: flex-start;
            gap: 10px;
            margin-bottom: 30px;
        }
    }
    .tox .tox-toolbar__group button.tox-tbtn:hover, .tox .tox-toolbar__group button.tox-tbtn--select:hover {
        background-color: #161B22 !important;
    }
    .tox-tinymce .tox-tbtn--enabled, .tox-tinymce .tox-tbtn--enabled:hover {
        background-color: #161B22 !important;
    }
    .author-info {
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .author-details-wrapper {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }
    .post-date {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-size: 0.75em;
        color: #9CA3AF;
        font-weight: 400;
    }
    .post-date i {
        font-size: 1.1em;
        line-height: 0;
    }
    .comments-section-container {
        margin-top: 10px;
    }
    .comments-title {
        font-size: 1.3em;
        font-weight: 600;
        color: #fff;
        margin-bottom: 25px;
        padding-bottom: 15px;
        border-bottom: 1px solid #374151;
    }
    .comment-form {
        display: flex;
        gap: 15px;
        align-items: flex-start;
        margin-bottom: 8px;
        margin-top: 40px !important;
    }
    #report-comment-other-reason-container {
        margin-top: 15px;
    }
    .comment-form-avatar {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
        border-radius: 50%;
        background-color: #374151;
        overflow: hidden;
    }
    .comment-form-avatar img, .comment-form-avatar svg {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .comment-form-input-wrapper {
        flex-grow: 1;
    }
    #comment-input, .reply-form textarea {
        min-height: 100px;
        resize: none;
        transition: min-height 0.2s ease;
        padding: 16px 15px;
        background-color: hsl(220.91deg 39.29% 10.98% / 64%);
        border-color: #4B5563;
        font-size: 0.9em;
    }
    #comment-input:focus {
        min-height: 100px;
        border-color: #4B5563;
        background-color: hsl(220.91deg 39.29% 10.98% / 70%);
    }
    .comment-form-actions {
        display: none;
        justify-content: flex-end;
        gap: 10px;
        margin-top: 10px;
    }
    #comment-input:focus + .comment-form-actions, .reply-form .comment-form-actions {
        display: flex;
    }
    .comment-form-actions .form-btn {
        padding: 8px 18px;
        font-size: 0.85em;
    }
    #comment-login-prompt {
        text-align: center;
        padding: 20px;
        background-color: rgba(31, 41, 55, 0.5);
        border: 1px dashed #4B5563;
        border-radius: 8px;
        margin-bottom: 30px;
    }
    #comment-login-prompt p {
        margin: 0;
        color: #9CA3AF;
    }
    #comment-login-prompt a {
        color: #A5B4FC;
        font-weight: 600;
        text-decoration: none;
    }
    #comment-login-prompt a:hover {
        text-decoration: underline;
    }
    .comments-list {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .comment-item {
        display: flex;
        gap: 15px;
        align-items: flex-start;
        position: relative;
    }
    .comment-avatar {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
        border-radius: 50%;
        overflow: hidden;
        background-color: #0d1116;
        border: 1px solid #374151;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .comment-avatar svg {
        width: 28px !important;
        height: 28px !important;
        color: #9CA3AF;
    }
    .comment-text strong {
        color: #A5B4FC;
        font-weight: 600;
    }
    .comment-avatar img, .comment-avatar svg {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .comment-content {
        flex-grow: 1;
    }
    .comment-header {
        display: flex;
        align-items: center;
        gap: 6px;
        margin-bottom: 4px;
    }
    .comment-edited-label {
        font-size: 0.75em;
        color: #9CA3AF;
        font-style: italic;
    }
    .comment-username {
        font-weight: 600;
        color: #E5E7EB;
        text-decoration: none;
        font-size: 0.9em;
    }
    .comment-username:hover {
        text-decoration: underline;
    }
    .comment-time {
        font-size: 0.8em;
        color: #9CA3AF;
    }
    .comment-text {
        color: #D1D5DB;
        font-size: 0.9em;
        line-height: 1.6;
        white-space: pre-wrap;
        overflow-wrap: break-word;
        word-break: break-word;
        text-align: left;
        margin: 0;
    }
    #comment-input, .reply-form textarea {
        resize: vertical;
    }
    .comment-actions {
        display: flex;
        align-items: center;
        gap: 15px;
        margin-top: 8px;
    }
    .comment-action-btn {
        background: none;
        border: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 6px;
        color: #9CA3AF;
        font-weight: 600;
        font-size: 0.8em;
        padding: 4px;
    }
    .comment-action-btn:hover {
        color: #fff;
    }
    .comment-action-btn i {
        font-size: 1em;
        line-height: 0;
    }
    .comment-action-btn.active {
        color: #A5B4FC;
    }
    .replies-container {
        display: none;
        margin-top: 20px;
        padding-left: 55px;
        flex-direction: column;
        gap: 20px;
    }
    .view-replies-btn {
        background: none;
        border: none;
        cursor: pointer;
        color: #A5B4FC;
        font-weight: 600;
        font-size: 0.85em;
        padding: 0;
        margin-top: 16px;
        display: flex;
        align-items: center;
        position: relative;
        padding-left: 55px;
    }
    .view-replies-btn:hover {
        text-decoration: underline;
    }
    .view-replies-btn::before {
        content: '';
        position: absolute;
        top: 8px;
        left: 20px;
        width: 25px;
        height: 2px;
        background-color: #374151;
    }
    .view-replies-btn::after {
        content: '';
        position: absolute;
        top: -20px;
        left: 20px;
        width: 2px;
        height: 28px;
        background-color: #374151;
    }
    .reply-form {
        margin-top: 15px;
        padding-left: 0px;
    }
    .reply-form .comment-form-avatar {
        width: 32px;
        height: 32px;
    }
    .comment-actions {
        display: flex;
        align-items: center;
        gap: 15px;
        margin-top: 8px;
        position: relative;
    }
    .comment-options {
        position: relative;
    }
    .comment-options {
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
    }
    .comment-item:hover .comment-options {
        opacity: 1;
        visibility: visible;
    }
    .comment-options-btn {
        background: none;
        border: none;
        border-radius: 50%;
        width: 30px;
        height: 30px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #9CA3AF;
        transition: background-color 0.2s;
    }
    .report-options-container {
        margin-bottom: 20px;
    }
    .comment-options-btn:hover {
        background-color: #374151;
        color: #fff;
    }
    .comment-options-btn i {
        font-size: 1.4em;
        line-height: 0;
        display: flex;
        align-items: center;
        height: 100%;
    }
    .comment-options-menu {
        position: absolute;
        top: 100%;
        right: 0;
        margin-top: 0px;
        background-color: #2a3441;
        border: 1px solid #4B5563;
        border-radius: 8px;
        width: 190px;
        z-index: 10;
        box-shadow: 0 8px 16px rgba(0,0,0,0.3);
        padding: 6px;
        display: flex;
        flex-direction: column;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.2s ease-out;
    }
    .comment-options-menu.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    .comments-title-wrapper {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .comment-count-badge {
        background-color: #374151;
        color: #E5E7EB;
        font-size: 0.8em;
        font-weight: 600;
        padding: 2px 8px;
        border-radius: 6px;
    }
    .content-box .box-body pre, .content-box .box-body code {
        height: 200px;
        overflow-y: auto;
        overflow-x: hidden;
        padding: 15px;
        background-color: none;
        border-radius: 6px;
        margin: -20px;
        white-space: pre-wrap;
        word-wrap: break-word;
        display: block;
    }
    .box-body pre code[class*="language-"] {
        font-size: 0.9em;
        line-height: 1.6;
    }
    pre[class*="language-"], code[class*="language-"] {
        padding: 0 !important;
    }
    .related-posts-section {
        margin-top: 50px;
        padding-top: 30px;
        width: 100%;
    }
    .related-posts-title {
        font-size: 1.5em;
        font-weight: 600;
        color: #E5E7EB;
        margin-top: 0;
        margin-bottom: 25px;
        text-align: left;
    }
    .related-posts-title span {
        color: #A5B4FC;
        text-transform: capitalize;
    }
    .post-card-thumbnail {
        position: relative;
    }
    .views-pill {
        position: absolute;
        top: 10px;
        left: 10px;
        z-index: 3;
        background-color: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(5px);
        color: #fff;
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 0.7em;
        padding: 4px 12px;
        height: 22px;
        line-height: 22px;
        border-radius: 50px;
    }
    .post-card-thumbnail .pill[class*="category-"] {
        position: absolute;
        top: 10px;
        right: 10px;
        z-index: 2;
        padding: 0px 8px !important;
        color: #fff;
        padding: 2px 12px !important;
        background-color: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(5px);
    }
    .media-wrapper .pill[class*="category-"] {
        color: #fff;
        position: absolute;
        top: 10px;
        right: 10px;
        z-index: 3;
        padding: 4px 14px !important;
        background-color: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(5px);
    }
    .views-pill i {
        font-size: 0.9em;
        color: #d5d5d5;
    }
    @keyframes pulse {
        0% {
            transform: scale(1);
        }
        50% {
            transform: scale(1.05);
        }
        100% {
            transform: scale(1);
        }
    }
    .expand-btn:not(.expanded) {
        animation: pulse 1.5s infinite ease-in-out;
    }
    @keyframes jump-down {
        0%, 10%, 100% {
            transform: translateY(0) rotate(180deg);
        }
        5% {
            transform: translateY(4px) rotate(180deg);
        }
    }
    .expand-btn:not(.expanded) i {
        animation: jump-down 2s infinite ease-in-out;
    }
    .comment-item {
        position: relative;
    }
    .replies-container {
        margin-top: 20px;
        padding-left: 55px;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    .replies-container > .comment-item::before {
        content: '';
        position: absolute;
        top: 20px;
        left: -35px;
        width: 25px;
        height: 2px;
        background-color: #374151;
    }
    .replies-container > .comment-item::after {
        content: '';
        position: absolute;
        top: -20px;
        left: -35px;
        width: 2px;
        height: calc(100% + 20px);
        background-color: #374151;
    }
    .replies-container > .comment-item:last-child::after {
        height: 40px;
    }
    .comment-action-btn.like-btn.active, .comment-action-btn.like-btn.active i {
        color: #A5B4FC;
    }
    .comment-action-btn.dislike-btn.active, .comment-action-btn.dislike-btn.active i {
        color: #ef4444 !important;
    }
    .history-entry {
        display: flex;
        align-items: flex-start;
        gap: 15px;
        padding: 15px 0;
        border-bottom: 1px solid #374151;
    }
    .history-avatar {
        width: 36px;
        height: 36px;
        flex-shrink: 0;
        border-radius: 50%;
        overflow: hidden;
        background-color: #0d1116;
        border: 1px solid #374151;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .history-avatar img, .history-avatar svg {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .history-avatar svg {
        width: 24px !important;
        height: 24px !important;
        color: #9CA3AF;
    }
    .history-details {
        flex-grow: 1;
    }
    .history-entry:last-child {
        border-bottom: none;
    }
    .history-text {
        color: #D1D5DB;
        font-size: 0.9em;
        line-height: 1;
        margin: 0 0 3px 0;
        white-space: pre-wrap;
    }
    .history-date {
        font-size: 0.75em;
        color: #9CA3AF;
    }
    #edit-history-content {
        max-height: 350px;
        overflow-y: auto;
        padding-right: 15px;
    }
    .comment-options-menu .option-divider {
        height: 1px;
        background-color: #4B5563;
        margin: 6px 0;
    }
    .author-badge {
        color: #93c5fd;
        background-color: rgba(147, 197, 253, 0.1);
        margin-left: 8px;
        display: inline-flex;
        align-items: center;
        gap: 5px;
        font-size: 0.7em;
        padding: 2px 8px;
        height: auto;
        line-height: 1.5;
        text-transform: none;
    }
    .author-badge i {
        font-size: 0.9em;
        line-height: 0;
    }
    .author-info, .project-name, .dropdown-username, #sidebar-username-display, .post-card-author, #profile-header-username {
        display: inline-flex;
        align-items: center;
        gap: 4px;
    }
    .verified-badge + .tooltip-container, .post-card-author-name .tooltip-container, #profile-header-username .tooltip-container {
        display: inline-flex;
        vertical-align: middle;
    }
    .verified-badge {
        cursor: help;
    }
    #profile-header-username, .post-card-author-name {
        display: inline-flex;
        align-items: center;
        gap: 4px;
    }
    #profile-header-username .tooltip-container, .post-card-author-name .tooltip-container {
        display: inline-flex;
        line-height: 0;
    }
    .tooltip-container {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: fit-content;
    }
    .tooltip-text {
        background-color: #0d1116;
        color: #D1D5DB;
        text-align: left;
        padding: 8px 12px;
        border-radius: 6px;
        border: 1px solid #4B5563;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
        font-size: 0.8rem;
        font-weight: 400;
        line-height: 1.5;
        white-space: normal;
        width: max-content;
        max-width: 220px;
        position: absolute;
        z-index: 9999;
        bottom: calc(100% + 8px);
        left: 50%;
        transform: translateX(-50%) translateY(5px);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
        pointer-events: none;
    }
    .tooltip-container:hover .tooltip-text {
        visibility: visible;
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    .post-card-author-name .tooltip-text {
        bottom: 160%;
    }
    .tooltip-text::before {
        border-width: 8px;
        border-top-color: #4B5563;
    }
    .tooltip-text::after {
        border-width: 7px;
        border-top-color: #0d1116;
        top: calc(100% - 2px);
    }
    #profile-header-username {
        display: flex;
        align-items: baseline;
        gap: 6px;
    }
    .post-card-author-name .tooltip-text {
        bottom: 160%;
    }
    .project-stats-desktop .tooltip-container {
        justify-self: center;
    }
    .project-item .tooltip-container {
        justify-self: center;
    }
    @media (max-width: 900px) {
        .post-thumbnail-container, .post-details-container {
            grid-column: 1 / -1;
        }
        .post-layout-grid {
            grid-template-columns: 1fr;
            gap: 25px;
        }
        .post-page-container {
            padding: 0 30px;
        }
        .post-title {
            font-size: 1.2em;
        }
        .details-middle-section {
            flex-direction: column;
            align-items: flex-start;
            gap: 20px;
        }
        .footer-button-group {
            flex-direction: column;
        }
        .details-footer-btn {
            justify-content: center;
        }
        .details-bottom-section {
            justify-content: flex-start;
        }
        .post-thumbnail-container, .post-details-container {
            padding: 00px;
        }
        .post-details-header, .details-content-wrapper {
            padding: 20px;
        }
        .post-thumbnail-container {
            padding: 20px 25px !important;
        }
        .media-wrapper::before {
            inset: -5px;
        }
        .details-bottom-section {
            gap: 6px;
        }
    }
    @media (max-width: 900px) {
        .profile-page-container.public-view {
            padding: 0 15px;
        }
        .profile-header.public {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            gap: 15px;
            padding: 20px;
        }
        .profile-avatar-large.public {
            grid-row: auto;
            width: 100px;
            height: 100px;
        }
        .profile-info-wrapper {
            align-items: center;
        }
        #profile-header-username {
            font-size: 1.8em;
        }
        .profile-username-wrapper {
            flex-direction: column;
            gap: 15px;
        }
        .profile-stats-and-socials {
            flex-direction: column;
            gap: 20px;
        }
        .profile-stats {
            justify-content: center;
        }
        .stat-item {
            align-items: center;
        }
        .profile-tabs {
            justify-content: center;
        }
        .profile-posts-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }
    @media (max-width: 640px) {
        .profile-posts-grid {
            grid-template-columns: 1fr;
        }
    }
    body.user-logged-in .nav-actions {
        display: none;
    }
    body.user-is-guest .nav-actions {
        display: flex;
    }
    @media (max-width: 768px) {
        .comment-item {
            gap: 10px;
        }
        .comment-actions {
            flex-wrap: wrap;
            row-gap: 8px;
            column-gap: 12px;
        }
        .comment-options {
            margin-left: auto;
        }
        .replies-container {
            padding-left: 25px;
            gap: 15px;
        }
        .replies-container > .comment-item::before {
            left: -15px;
            width: 15px;
        }
        .replies-container > .comment-item::after {
            left: -15px;
        }
        .replies-container > .comment-item:last-child::after {
            height: 35px;
        }
        .reply-form {
            padding-left: 0;
        }
    }
    @media (max-width: 400px) {
        .comment-header {
            flex-wrap: wrap;
            gap: 4px 8px;
        }
        .comment-text, .comment-username {
            font-size: 0.85em;
        }
    }
    @keyframes shimmer {
        0% {
            transform: translateX(-100%);
        }
        100% {
            transform: translateX(100%);
        }
    }
    .skeleton-avatar, .skeleton-input, .skeleton-text, .skeleton-placeholder {
        position: relative;
        overflow: hidden;
        background-color: #2a3441;
    }
    .skeleton-avatar::before, .skeleton-input::before, .skeleton-text::before, .skeleton-placeholder::before {
        content: '';
        position: absolute;
        inset: 0;
        transform: translateX(-100%);
        background: linear-gradient(90deg, transparent, #4B5563, transparent);
        animation: shimmer 1.5s infinite;
        filter: blur(5px); /* ITO ANG IDINAGDAG */
    }
    #comments-skeleton-loader {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }
    .skeleton-comment {
        display: flex;
        gap: 15px;
        align-items: flex-start;
    }
    .skeleton-avatar {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
        border-radius: 50%;
    }
    .skeleton-content {
        flex-grow: 1;
        padding-top: 4px;
    }
    .skeleton-text {
        height: 12px;
        border-radius: 4px;
    }
    .skeleton-text.header {
        width: 40%;
        margin-bottom: 12px;
    }
    .skeleton-text.line-1 {
        width: 90%;
        margin-bottom: 8px;
    }
    .skeleton-text.line-2 {
        width: 70%;
    }
    .skeleton-actions {
        display: flex;
        gap: 15px;
        margin-top: 12px;
    }
    .skeleton-actions .skeleton-text {
        width: 60px;
        height: 16px;
    }
    #comment-form-skeleton-loader {
        display: flex;
        gap: 15px;
        align-items: flex-start;
        margin-top: 40px;
    }
    .skeleton-input {
        width: 100%;
        height: 100px;
        border-radius: 4px;
    }
    #comment-count-badge.skeleton {
        width: 28px;
        color: transparent;
        position: relative;
        overflow: hidden;
        background-color: #2a3441;
        border-radius: 4px !important;
    }
    #comment-count-badge.skeleton::before {
        content: '';
        position: absolute;
        inset: 0;
        transform: translateX(-100%);
        background: linear-gradient(90deg, transparent, #374151, transparent);
        animation: shimmer 1.5s infinite;
    }
    #view-more-comments-btn {
        margin-top: 20px;
        display: none;
    }
    #view-more-comments-btn:disabled {
        color: #9CA3AF;
        cursor: not-allowed;
        text-decoration: none;
    }
    #view-more-comments-btn .replies-arrow {
        width: 14px;
        height: 14px;
        transition: transform 0.3s ease;
    }
    .comment-text a {
        color: #A5B4FC;
        font-weight: 600;
        text-decoration: none;
        cursor: pointer;
    }
    .comment-text a:hover {
        text-decoration: underline;
    }
    .mention-highlight {
        color: #6366f1;
    }
    #live-preview-holder {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #0d1116;
        z-index: 1500;
        overflow-y: auto;
        padding: 20px;
        box-sizing: border-box;
    }
    #back-to-writing-btn {
        position: fixed;
        top: 20px;
        right: 30px;
        z-index: 1510;
        background-color: #374151;
    }
    #back-to-writing-btn:hover {
        background-color: #4B5563;
    }
    #preview-content-area {
        width: 100%;
        height: auto;
    }
    #preview-content-area .post-page-container {
        padding: 0;
        margin: 60px auto 0 auto;
        font-size: 1rem;
    }
    #preview-content-area a, #preview-content-area button {
        pointer-events: none !important;
        cursor: default !important;
    }
    #preview-content-area a {
        text-decoration: none !important;
    }
    .preview-watermark {
        font-family: 'Open Sans', sans-serif;
        position: fixed;
        top: 160px;
        left: -40px;
        transform: rotate(-45deg);
        transform-origin: top left;
        background-color: rgba(107, 114, 128, 0.7);
        backdrop-filter: blur(5px);
        color: rgba(255, 255, 255, 0.8);
        padding: 10px 90px;
        font-size: 1.2em;
        font-weight: 700;
        text-align: center;
        text-transform: uppercase;
        letter-spacing: 2px;
        z-index: 9999;
        pointer-events: none;
        display: none;
        box-shadow: 0 4px 20px rgb(0 0 0 / 40%), 0 0 10px rgba(99, 102, 241, 0.3);
    }
    .tox-statusbar__path, .tox-statusbar__wordcount {
        display: none !important;
    }
    .tox .tox-statusbar {
        background-color: #0d1116 !important;
        border-top: none !important;
    }
    .tox-tinymce .tox-editor-container {
        display: flex;
        flex-direction: column;
    }
    .tox-tinymce .tox-edit-area {
        order: 1;
        flex-grow: 1;
    }
    .tox-tinymce .tox-statusbar {
        order: 2;
        flex-shrink: 0;
    }
    .tox-tinymce .tox-editor-header {
        order: 3;
        flex-shrink: 0;
    }
    @media (min-width: 1171px) {
        .dashboard-nav::-webkit-scrollbar-thumb {
            background-color: transparent;
            border-color: transparent;
            transition: background-color 0.3s ease-in-out, border-color 0.3s ease-in-out;
        }
        .dashboard-sidebar:hover .dashboard-nav::-webkit-scrollbar-thumb {
            background-color: #374151;
            border-color: #0d1116;
        }
        .dashboard-nav::-webkit-scrollbar-track {
            background-color: transparent;
        }
    }
    .page-header.column-layout {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .page-header-actions {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 15px;
        width: 100%;
        margin-bottom: 30px;
    }
    .project-filters {
        display: flex;
        gap: 10px;
    }
    .filter-group {
        position: relative;
    }
    .filter-btn {
        background-color: #161b22;
        border: 1px solid #374151;
        color: #E5E7EB;
        font-family: 'Open Sans', sans-serif;
        font-weight: 500;
        font-size: 0.85em;
        padding: 8px 24px;
        border-radius: 8px;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 8px;
        transition: background-color 0.2s, border-color 0.2s;
    }
    .filter-btn:hover {
        background-color: #374151;
        border-color: #4B5563;
    }
    .filter-btn.active {
        background-color: #6366f1;
        border-color: #6366f1;
        color: #fff;
    }
    .filter-btn.active i {
        color: #fff;
    }
    .filter-btn i {
        font-size: 1.1em;
        color: #b5bcc9;
        line-height: 0 !important;
    }
    .filter-btn .zf-rr-arrow-down-up {
        font-size: 0.8em;
        transition: transform 0.2s ease;
    }
    .filter-btn.active .zf-rr-arrow-down-up {
        transform: rotate(180deg);
    }
    .filter-dropdown {
        position: absolute;
        top: calc(100% + 5px);
        right: 0;
        background-color: #161b22;
        border: 1px solid #4B5563;
        border-radius: 6px;
        width: 100%;
        box-sizing: border-box;
        z-index: 10;
        box-shadow: 0 8px 16px rgba(0,0,0,0.3);
        padding: 6px;
        display: flex;
        flex-direction: column;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.2s ease-out;
    }
    .filter-dropdown.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    .filter-dropdown a {
        padding: 8px 12px;
        border-radius: 4px;
        color: #D1D5DB;
        font-size: 0.85em;
        font-weight: 500;
        text-decoration: none;
        cursor: pointer;
        text-align: left;
    }
    .filter-dropdown a:hover {
        background-color: #6366f1;
        color: #fff;
    }
    @media (max-width: 1000px) {
        .page-header.column-layout {
            flex-direction: column;
            align-items: flex-start;
        }
        .page-header-actions {
            flex-direction: column;
            align-items: stretch;
            gap: 15px;
        }
        .project-filters {
            display: flex;
            flex-direction: column;
            align-items: stretch;
            gap: 10px;
        }
        .project-filters .filter-btn {
            width: 100%;
            justify-content: space-between;
        }
    }
    .tooltip-text.bottom {
        top: calc(100% + 8px);
        bottom: auto;
        transform: translateX(-50%) translateY(-5px);
        z-index: 9999;
    }
    .tooltip-container:hover .tooltip-text.bottom {
        transform: translateX(-50%) translateY(0);
    }
    .skeleton-project-item {
        background-color: #161b22 !important;
        border-color: #374151 !important;
        pointer-events: none;
    }
    .skeleton-project-item .skeleton-placeholder {
        position: relative;
        overflow: hidden;
        background-color: #2a3441;
    }
    .skeleton-project-item .skeleton-placeholder::before {
        content: '';
        position: absolute;
        inset: 0;
        transform: translateX(-100%);
        background: linear-gradient(90deg, transparent, #374151, transparent);
        animation: shimmer 1.5s infinite;
    }
    #projects-list {
        transition: opacity 0.6s ease, filter 0.6s ease, transform 0.6s ease;
    }
    #projects-list.projects-loading {
        opacity: 0;
        filter: blur(5px);
        transform: translateY(10px);
    }
    #projects-list.projects-loaded {
        opacity: 1;
        filter: blur(0px);
        transform: translateY(0);
    }
    .page-header-actions {
        justify-content: space-between;
    }
    .search-filter-wrapper {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    #project-search-btn {
        padding: 20px 14px;
    }
    #project-search-input::placeholder {
        color: #ffffff;
        opacity: 0.4;
    }
    .search-input-container {
        display: flex;
        align-items: center;
        position: relative;
        background-color: #161b22;
        border: 1px solid #374151;
        border-radius: 8px;
        overflow: hidden;
        width: 0;
        opacity: 0;
        visibility: hidden;
        transition: width 0.4s ease, opacity 0.3s ease, visibility 0s 0.4s;
    }
    .search-input-container.active {
        width: 280px;
        opacity: 1;
        visibility: visible;
        transition: width 0.4s ease, opacity 0.3s ease 0.1s, visibility 0s;
    }
    #project-search-input {
        width: 100%;
        background: none;
        border: none;
        outline: none;
        color: #fff;
        font-family: 'Open Sans', sans-serif;
        font-size: 0.85em;
        padding: 8px 30px 8px 15px;
        box-sizing: border-box;
    }
    #project-search-clear-btn {
        position: absolute;
        right: 5px;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        color: #9CA3AF;
        font-size: 1.5em;
        cursor: pointer;
        padding: 0 5px;
        display: none;
    }
    .search-input-container.active #project-search-clear-btn {
        display: block;
    }
    .media-card {
        background-color: #161b22;
        border: 1px solid #374151;
        border-radius: 8px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        transition: transform 0.2s ease-in-out, background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
    }
    .media-card:hover {
        transform: scale(1.02);
        box-shadow: 0 8px 20px rgba(0,0,0,0.2);
        border-color: #667589;
        background-color: #243041;
    }
    .media-card:has(.media-options-menu.show) {
        z-index: 20;
    }
    .media-card-thumbnail {
        width: 100%;
        aspect-ratio: 16 / 9;
        position: relative;
        background-color: #0d1116;
        overflow: hidden;
        cursor: pointer;
    }
    .media-card-thumbnail img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .media-card-thumbnail .pill {
        position: absolute;
        bottom: 10px;
        left: 10px;
        z-index: 2;
        font-size: 0.7em;
    }
    .media-card-info {
        padding: 15px;
        border-top: 1px solid #374151;
    }
    .media-card-info .url-input-group {
        background-color: #0d1116;
    }
    .media-card-info .form-input {
        font-size: 0.8em;
        padding: 8px 10px;
    }
    .media-card-info .url-input-group {
        border-radius: 6px 6px 0 0;
    }
    .media-card-info .copy-media-url-btn:hover {
        background-color: #4B5563;
    }
    .media-card-info .copy-media-url-btn.copied {
        background-color: #6366f1;
        border-color: #6366f1;
    }
    .media-card .status-published {
        color: #fff !important;
        background-color: #15490f !important 
    }
    .media-card .status-draft {
        color: #ffffff !important;
        background-color: #4f1010 !important;
    }
    .media-actions {
        position: absolute;
        top: 10px;
        right: 10px;
        z-index: 3;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.2s ease, visibility 0.2s ease;
    }
    .media-card:hover .media-actions, .media-card:has(.media-options-menu.show) .media-actions {
        opacity: 1;
        visibility: visible;
    }
    @media (max-width: 768px) {
        .media-actions {
            opacity: 1;
            visibility: visible;
        }
    }
    .media-options-menu {
        width: 160px;
    }
    .media-card {
        position: relative;
    }
    .media-card .project-options-btn {
        opacity: 1;
        visibility: visible;
    }
    .media-upload-date {
        font-size: 0.75em;
        color: #9CA3AF;
        margin: 0 0 8px 0;
        text-align: left;
    }
    .media-card-info .copy-media-url-btn {
        width: 100%;
        margin-top: 8px;
        border-radius: 4px;
        background-color: #374151;
        padding: 8px 15px;
        font-size: 0.8em;
    }
    .media-card-info .copy-media-url-btn:hover {
        background-color: #4B5563;
    }
    .media-card-info .copy-media-url-btn.copied {
        background-color: #6366f1;
        border-color: #6366f1;
    }
    .skeleton-card {
        background-color: #161b22;
        pointer-events: none;
    }
    .skeleton-card .skeleton-placeholder {
        position: relative;
        overflow: hidden;
        background-color: #2a3441;
    }
    .skeleton-card .skeleton-placeholder::before {
        content: '';
        position: absolute;
        inset: 0;
        transform: translateX(-100%);
        background: linear-gradient(90deg, transparent, #374151, transparent);
        animation: shimmer 1.5s infinite;
    }
    .skeleton-thumbnail {
        width: 100%;
        aspect-ratio: 16 / 9;
        border-radius: 0;
    }
    .skeleton-date {
        width: 45%;
        height: 12px;
        margin-bottom: 10px;
        border-radius: 4px;
    }
    .skeleton-input-group {
        width: 100%;
        height: 38px;
        border-radius: 6px;
    }
    .skeleton-copy-btn {
        width: 100%;
        height: 38px;
        margin-top: 8px;
        border-radius: 6px;
    }
    .post-context .project-thumbnail {
        width: 64px;
        height: 36px;
        border-radius: 4px;
        flex-shrink: 0;
    }
    .post-context span {
        font-size: 0.8em;
        font-weight: 500;
        color: #9CA3AF;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .media-select-actions {
        display: flex;
        gap: 10px;
        margin-left: auto;
    }
    body.select-mode #media-upload-btn {
        display: none;
    }
    .media-select-actions .form-btn {
        padding: 8px 18px;
        font-size: 0.85em;
    }
    .media-card {
        position: relative;
    }
    .media-select-indicator {
        position: absolute;
        top: 10px;
        left: 10px;
        width: 24px;
        height: 24px;
        background-color: rgba(0, 0, 0, 0.5);
        border: 2px solid #fff;
        border-radius: 50%;
        cursor: pointer;
        z-index: 4;
        display: none;
        transition: all 0.2s ease;
    }
    body.select-mode .media-card.is-unused .media-select-indicator {
        display: block;
    }
    .media-card.selected .media-select-indicator {
        background-color: none;
        border-color: #fff;
    }
    .media-card.selected .media-select-indicator::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 15px;
        height: 15px;
        background-color: #fff;
        border-radius: 50%;
        transform: translate(-50%, -50%);
    }
    body.select-mode .media-card:not(.is-unused) {
        opacity: 0.4;
        pointer-events: none;
    }
    #upload-modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(17, 24, 39, 0.7);
        backdrop-filter: blur(4px);
        z-index: 2000;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
        box-sizing: border-box;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    #upload-modal-overlay.visible {
        opacity: 1;
        visibility: visible;
    }
    #upload-modal-container {
        width: 100%;
        max-width: 600px;
        background-color: #161b22;
        border: 1px solid #374151;
        border-radius: 12px;
        box-sizing: border-box;
        transform: scale(0.95);
        transition: transform 0.3s ease;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }
    #upload-modal-overlay.visible #upload-modal-container {
        transform: scale(1);
    }
    #upload-modal-body {
        min-height: 300px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    #upload-dropzone-view {
        width: 100%;
    }
    #upload-cropper-view {
        width: 100%;
    }
    #upload-dropzone {
        width: 100%;
        margin: 0;
    }
    .cropper-image-container {
        position: relative;
        width: 100%;
        aspect-ratio: 16 / 9;
        background-color: #0d1116;
        border-radius: 6px;
        overflow: hidden;
    }
    .remove-preview-btn {
        position: absolute;
        top: 10px;
        right: 10px;
        z-index: 10;
        width: 30px;
        height: 30px;
        background-color: #4b5563;
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: #fff;
        border-radius: 6px;
        font-size: 1.5em;
        line-height: 1;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        transition: background-color 0.2s ease, transform 0.2s ease;
    }
    .remove-preview-btn:hover {
        background-color: #ef4444;
        transform: scale(1.1);
    }
    .cropper-image-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    #upload-dropzone {
        width: 100%;
        box-sizing: border-box;
        border: 3px dashed #576272;
        border-radius: 8px;
        cursor: pointer;
        transition: border-color 0.2s ease, background-color 0.2s ease;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 40px 20px;
        margin: 0;
        background-color: #2a3441;
        cursor: pointer;
    }
    #upload-dropzone i {
        font-size: 48px;
        color: #9CA3AF;
        margin-bottom: 15px;
    }
    #upload-dropzone:hover {
        border-color: #6366f1;
        background-color: rgb(100 103 242 / 15%);
    }
    #upload-dropzone svg {
        width: 48px;
        height: 48px;
        color: #9CA3AF;
        margin-bottom: 15px;
    }
    #upload-dropzone span {
        font-weight: 600;
        color: #D1D5DB;
        font-size: 1em;
    }
    #upload-dropzone .uploader-subtext {
        font-size: 0.8em;
        color: #9CA3AF;
        font-weight: 400 !important;
        margin-top: 8px;
        display: block;
    }
    .cropper-modal {
        background-color: #161b22 !important;
        opacity: .5;
    }
    #analytics-period-filter .filter-btn {
        background-color: transparent;
        border: none;
        font-size: 0.9em;
    }
    #analytics-period-filter .filter-btn.active {
        background-color: #374151;
        color: #fff;
    }
    .stats-card-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
        margin-bottom: 25px;
    }
    .stats-card {
        position: relative;
        background-color: #161b22;
        border: 1px solid #374151;
        border-radius: 12px;
        padding: 20px;
        display: flex;
        flex-direction: column;
        transition: transform 0.2s ease-in-out, border-color 0.2s ease-in-out;
        transition: transform 0.2s ease-in-out, background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
    }
    .stats-card:hover {
        background-color: #1a222d;
        transform: scale(1.05);
        border-color: #5c6a7e;
    }
    .stats-card::before, .stats-card::after, .stats-card::nth-child(1)::before, .stats-card::nth-child(1)::after {
        content: "";
        position: absolute;
        background: transparent;
        transition: all 0.3s;
    }
    .stats-card::before {
        top: 0;
        left: 0;
        width: 0;
        height: 2px;
        background: linear-gradient(to right, #5c6a7e 80%, transparent 100%);
    }
    .stats-card::after {
        top: 0;
        left: 0;
        width: 2px;
        height: 0;
        background: linear-gradient(to bottom, #5c6a7e 80%, transparent 100%);
    }
    .stats-card::before {
        top: 0;
        right: 0;
        width: 0;
        height: 2px;
        background: linear-gradient(to left, #5c6a7e 80%, transparent 100%);
    }
    .stats-card::after {
        top: 0;
        right: 0;
        width: 2px;
        height: 0;
        background: linear-gradient(to bottom, #5c6a7e 80%, transparent 100%);
    }
    .stats-card::before {
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background: linear-gradient(to right, #5c6a7e 80%, transparent 100%);
    }
    .stats-card::after {
        bottom: 0;
        left: 0;
        width: 2px;
        height: 0;
        background: linear-gradient(to top, #5c6a7e 80%, transparent 100%);
    }
    .stats-card::before {
        bottom: 0;
        right: 0;
        width: 0;
        height: 2px;
        background: linear-gradient(to left, #5c6a7e 80%, transparent 100%);
    }
    .stats-card::after {
        bottom: 0;
        right: 0;
        width: 2px;
        height: 0;
        background: linear-gradient(to top, #5c6a7e 80%, transparent 100%);
    }
    .stats-card:hover::before {
        width: 40px;
    }
    .stats-card:hover::after {
        height: 40px;
    }
    .stats-card-icon {
        width: 35px;
        height: 35px;
        border-radius: 4px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 5px;
    }
    .stats-card-icon i {
        font-size: 1em;
        line-height: 0;
    }
    .stats-card-value {
        font-size: 1.8em;
        font-weight: 600;
        color: #fff;
        line-height: 1;
    }
    .analytics-chart-container {
        position: relative;
        height: 350px;
        width: 100%;
    }
    .top-projects-header {
        grid-template-columns: 20px 64px 4fr 1fr 1fr 1.2fr !important;
        padding: 15px 20px !important;
        margin-bottom: 0 !important;
    }
    .top-project-item {
        display: grid;
        grid-template-columns: 20px 64px 4fr 1fr 1fr 1.2fr;
        gap: 20px;
        align-items: center;
        padding: 15px 20px;
        font-size: 0.9em;
        text-decoration: none;
        color: #D1D5DB;
        border-bottom: 1px solid #374151;
        transition: background-color 0.2s ease;
    }
    .top-project-item:last-child {
        border-bottom: none;
    }
    .top-project-item:hover {
        background-color: #0d1116;
    }
    .top-project-item .project-rank {
        font-weight: 700;
        color: #9CA3AF;
    }
    .top-project-item .project-title {
        font-weight: 600;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .top-project-item .project-stat {
        text-align: left;
        font-weight: 500;
    }
    .top-project-item .pill {
        justify-self: center;
    }
    .skeleton-stat-card {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 20px;
    }
    .skeleton-item .skeleton-placeholder {
        animation: shimmer 1.5s infinite;
    }
    @media (max-width: 768px) {
        #analytics-period-filter {
            flex-direction: row;
            flex-wrap: wrap;
            justify-content: flex-start;
        }
        .top-projects-header {
            display: none;
        }
        .top-project-item {
            grid-template-columns: auto 56px 1fr;
            grid-template-rows: auto auto auto;
            gap: 5px 15px;
            padding: 15px;
        }
        .top-project-item .top-project-thumbnail {
            grid-column: 2 / 3;
            grid-row: 1 / 4;
            width: 56px;
            height: 56px;
            border-radius: 6px;
        }
        .top-project-item .project-rank {
            grid-row: 1 / 4;
            grid-column: 1 / 2;
            font-size: 1.2em;
            align-self: center;
        }
        .top-project-item .project-title {
            grid-column: 2 / 3;
            grid-row: 1 / 2;
            font-size: 1em;
        }
        .top-project-item .project-stat, .top-project-item .pill {
            display: inline-block;
            width: auto;
            padding: 2px 10px;
            background-color: #2a3441;
            border-radius: 4px;
            font-size: 0.75em;
        }
        .stats-wrapper {
            grid-column: 2 / 3;
            grid-row: 2 / 3;
            display: flex;
            gap: 8px;
            align-items: center;
        }
        .top-project-item .project-stat {
            text-align: left;
            display: flex;
            gap: 5px;
            align-items: center;
        }
        .top-project-item .pill {
            grid-column: 2 / 3;
            grid-row: 3 / 4;
            justify-self: start;
        }
    }
    .top-project-thumbnail {
        width: 64px;
        height: 36px;
        border-radius: 4px;
        overflow: hidden;
        background-color: #374151;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .top-project-thumbnail img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .top-project-thumbnail .placeholder {
        font-weight: 700;
        font-size: 1.2em;
        color: #9CA3AF;
    }
    .analytics-grid-layout {
        display: grid;
        grid-template-columns: 2fr 1fr; /* Ginawang 2fr 1fr para mas balanse sa desktop */
        gap: 25px;
        margin-top: 25px;
        margin-bottom: 25px;
    }

    /* Tinaasan ang max-width para maaga mag-stack sa tablet/mobile */
    @media (max-width: 1000px) { 
        .analytics-grid-layout {
            grid-template-columns: 1fr;
        }
    }

    @media (max-width: 900px) {
        .analytics-grid-layout {
            grid-template-columns: 1fr;
    }
    }
    #chart-hover-value {
        font-size: 2em !important;
        font-weight: 600 !important;
    }
    #chart-hover-label {
        font-size: 0.9em !important;
        font-weight: 600;
    }
    #analytics-hover-value-container {
        display: flex;
        align-items: center !important; /* Binago mula sa flex-start */
        gap: 25px; /* Binawasan ang gap para mas compact */
        margin-bottom: 15px;
        min-height: 48px;
    }

    .chart-hover-stat {
        display: flex;
        align-items: baseline; /* Ito ang susi para magpantay ang numero at text */
        gap: 8px; /* Espasyo sa pagitan ng numero at text */
        line-height: 1;
    }

    .chart-hover-stat:not(:last-child) {
        padding-right: 25px; /* Espasyo sa pagitan ng bawat stat group */
        border-right: 1px solid #374151; /* Vertical na linya bilang separator */
    }

    .chart-hover-value {
        font-size: 1.5em; /* Bahagyang binawasan para hindi masyadong malaki */
        font-weight: 600;
        color: #fff;
    }

    .chart-hover-label {
        font-size: 0.8em;
        color: #9CA3AF;
        font-weight: 500;
    }
    .analytics-chart-container {
        position: relative;
        height: 300px !important;
        width: 100%;
    }
    .stats-card {
        justify-content: space-between;
    }
    .stats-card-title {
        font-size: 0.75em;
        color: #9CA3AF;
        order: 1;
        margin-bottom: 5px;
    }
    .stats-card-value {
        order: 2;
        margin-top: 2px;
    }
    .stats-card-change {
        order: 3;
        display: flex;
        align-items: center;
        gap: 4px;
        font-size: 0.7em;
        font-weight: 600;
        margin-top: 10px;
    }
    .stats-card-change svg {
        width: 14px;
        height: 14px;
    }
    .stats-card-change span {
        font-weight: 500;
        color: #6B7280;
        margin-left: 4px;
    }
    .stats-card-change.positive {
        color: #4ade80;
    }
    .stats-card-change.negative {
        color: #f87171;
    }
    .top-articles-container {
        position: relative;
    }
    #top-articles-list {
        width: 100%;
        overflow: hidden;
        border-radius: 8px;
    }
    .top-articles-slider {
        display: flex;
        width: 300%;
        transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    .top-articles-card {
        flex: 0 0 33.33%;
        padding: 0 5px;
        box-sizing: border-box;
        text-decoration: none;
        display: flex;
        flex-direction: column;
    }
    .top-articles-card {
        flex: 0 0 33.33%;
        padding: 0 5px;
        box-sizing: border-box;
        text-decoration: none;
    }
    .top-article-inner-wrapper {
        background-color: #374151;
        border-radius: 8px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        border: 1px solid transparent;
        transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    }
    .top-articles-card:hover .top-article-inner-wrapper {
        z-index: 5;
        position: relative;
        border-color: #667589;
    }
    #top-articles-next-btn, #top-articles-prev-btn {
        position: absolute;
        top: 50%;
        background-color: rgba(31, 41, 55, 0.6);
        border: 1px solid #4B5563;
        border-radius: 50%;
        width: 44px;
        height: 44px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        transition: background-color 0.2s ease;
        z-index: 10;
    }
    #top-articles-next-btn:hover, #top-articles-prev-btn:hover {
        background-color: rgba(55, 65, 81, 0.8);
    }
    #top-articles-next-btn {
        right: -15px;
        transform: translateY(-50%);
    }
    #top-articles-prev-btn {
        left: -15px;
        transform: translateY(-50%) rotate(180deg);
    }
    .top-article-thumbnail {
        width: 100%;
        aspect-ratio: 14 / 9;
        overflow: hidden;
        position: relative;
    }
    .top-article-thumbnail .pill {
        position: absolute;
        top: 8px;
        left: 8px;
        z-index: 2;
        background-color: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(5px);
        color: #fff !important;
        font-size: 0.7em;
        padding: 4px 12px !important;
        height: auto;
        line-height: 1.5;
    }
    .top-article-thumbnail img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }
    .top-articles-card:hover .top-article-thumbnail img {
        transform: scale(1.05);
    }
    .top-article-content {
        padding: 12px;
    }
    .top-article-title {
        font-size: 0.9em;
        font-weight: 600;
        color: #E5E7EB;
        margin: 0 0 8px 0;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        min-height: 2.5em;
        text-decoration: none !important;
    }
    .top-article-meta {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 0.8em;
        color: #9CA3AF;
    }
    .top-article-meta {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 0.8em;
        color: #9CA3AF;
        text-decoration: none !important;
    }
    .top-articles-card.skeleton-item {
        background-color: transparent;
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    .top-article-content {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        flex-grow: 1;
    }
    .top-article-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        margin-top: 15px;
    }
    .top-article-stat-item {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        background-color: #374151;
        border-radius: 4px;
        padding: 6px 0;
        font-size: 0.8em;
        color: #D1D5DB;
        font-weight: 500;
    }
    .top-article-stat-item i {
        font-size: 1em;
        color: #9CA3AF;
    }
    @keyframes pulse-badge {
        0% {
            transform: scale(1);
            box-shadow: 0 0 0 0 rgba(255, 0, 81, 0.4);
        }
        70% {
            transform: scale(1.1);
            box-shadow: 0 0 0 7px rgba(255, 0, 81, 0);
        }
        100% {
            transform: scale(1);
            box-shadow: 0 0 0 0 rgba(255, 0, 81, 0);
        }
    }
    .hot-badge {
        background-color: rgba(255, 0, 81, 0.15);
        color: #ff0051;
        border: 1px solid #ff0051;
        font-size: 0.65em;
        font-weight: 700;
        padding: 2px 10px 2px 8px;
        border-radius: 16px;
        margin-left: 12px;
        vertical-align: middle;
        display: inline-flex;
        align-items: center;
        gap: 4px;
        animation: pulse-badge 2s infinite cubic-bezier(0.66, 0, 0, 1);
    }
    .hot-badge svg {
        width: 12px;
        height: 12px;
    }
    a.top-article-linkable-area, a.top-article-linkable-area:hover {
        text-decoration: none;
        display: block;
    }
    .shimmer-effect {
        position: absolute;
        top: 0;
        left: -150%;
        width: 75%;
        height: 100%;
        background: linear-gradient( to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0) 100% );
        transform: skewX(-25deg);
        animation: shimmer 2.5s infinite;
        pointer-events: none;
        opacity: 1;
        transition: opacity 0.4s ease;
    }
    @keyframes shimmer {
        100% {
            left: 150%;
        }
    }
    .pagination-container {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        margin-top: 25px;
        padding: 10px 0;
    }
    .pagination-btn {
        background-color: #374151;
        border: 1px solid #4B5563;
        color: #E5E7EB;
        font-family: 'Open Sans', sans-serif;
        font-weight: 600;
        font-size: 0.9em;
        width: 36px;
        height: 36px;
        border-radius: 6px;
        cursor: pointer;
        transition: background-color 0.2s, border-color 0.2s;
    }
    .pagination-btn:hover:not(:disabled) {
        background-color: #4B5563;
    }
    .pagination-btn.active {
        background-color: #6366f1;
        border-color: #6366f1;
        color: #fff;
        cursor: default;
    }
    .pagination-btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }


    #upload-modal-overlay.profile-upload-mode #upload-modal-container {
        max-width: 500px;
    }

    #upload-modal-overlay.profile-upload-mode .cropper-image-container {
        aspect-ratio: 1 / 1;
        border-radius: 6px;
        width: 85%; 
        margin: 0 auto; 
    }

    #upload-modal-overlay.profile-upload-mode .cropper-image-container::after {
        content: '';
        position: absolute;
        inset: 0;
        pointer-events: none;

        border-radius: 50%;
        box-shadow: 0 0 0 2000px rgb(31 41 55 / 75%);
    }

    .status-live {
        color: #4ade80; 
        background-color: rgba(74, 222, 128, 0.1);
    }

    .status-flagged {
        color: #f87171; 
        background-color: rgba(248, 113, 113, 0.1);
    }



    .create-layout-wrapper .form-layout-grid {
        display: block;
    }


    .form-steps-header {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .sidebar-step.active, .sidebar-step.completed {
        cursor: default !important;
    }

    .step-text {
        display: block !important;
    }

    .step-text h4 {
        color: #9CA3AF;
        font-size: 0.9em;
        font-weight: 600;
    }

    .step-text p {
        display: none; 
    }

    .sidebar-step.active .step-number {
        background-color: #6366f1;
        border-color: #6366f1;
        color: #fff;
    }
    .sidebar-step.active .step-text h4 {
        color: #fff;
    }

    .sidebar-step.completed .step-number {
        background-color: #374151;
        border-color: #3d546f;
    }

    @media (max-width: 900px) {
        .create-layout-wrapper .form-layout-grid {
            display: flex;
            flex-direction: column;
        }
        .form-steps-header {
            order: -1;
        }

    }
    @media (max-width: 500px) {
        .sidebar-steps-container {
            padding: 0;
        }

        .step-text h4 {
            font-size: 0.8em;
        }
    }

    select.form-input {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%239CA3AF' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: right 15px center;
        background-size: 0.9em;
        padding-right: 40px; 
    }

    #thumbnail-label i.zf-rr-info {
        font-size: 18px;
        line-height: 0;
        position: relative;
        top: 2px;
        display: inline-flex;
        align-items: center;
    }


    .custom-select-wrapper {
        position: relative;
    }

    .custom-select-trigger {
        position: relative;
        width: 100%;
        padding: 12px 15px;
        background-color: #0d1116;
        border: 1px solid #4B5563;
        border-radius: 12px;
        color: #9CA3AF;
        font-size: 1em;
        cursor: pointer;
        box-sizing: border-box;
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
        text-align: left;
    }

    .custom-select-trigger.selected {
        color: #fff; 
    }
    .custom-select-trigger > span {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .custom-select-trigger .poll-type-icon {
        opacity: 1;
    }
    .custom-select-trigger::after {
        content: '';
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        width: 1em;
        height: 1em;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%239CA3AF' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        transition: transform 0.3s ease;
    }

    .custom-select-wrapper.open .custom-select-trigger {
        border-color: #6366f1;
        box-shadow: 0 0 0 1px #6366f1;
    }

    .custom-select-wrapper.open .custom-select-trigger::after {
        transform: translateY(-50%) rotate(180deg);
    }

    .custom-options {
        position: absolute;
        top: calc(100% + 5px);
        left: 0;
        width: 300px; 
        background-color: #0d1116;
        border: 1px solid #4B5563;
        border-radius: 12px;
        z-index: 10;
        padding: 0px;
        box-sizing: border-box;
        box-shadow: 0 8px 16px rgba(0,0,0,0.3);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.2s ease-out;
    }

    .custom-select-wrapper.open .custom-options {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .custom-option {
        position: relative;
        padding: 10px 36px 10px 12px; 
        border-radius: 0px;
        color: #D1D5DB;
        font-size: 0.9em;
        font-weight: 500;
        cursor: pointer;
        transition: background-color 0.2s ease;
        text-align: left;
    }

    .custom-option.selected::after {
        content: '';
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
        width: 20px;
        height: 20px;
        background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill='none' stroke='%23FFFFFF' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' d='m5 16.577 2.194-2.195 5.486 5.484L24.804 7.743 27 9.937l-14.32 14.32z'/%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: center;
    }
    .custom-option:hover {
        background-color: #374151;
    }

    .custom-option.selected {
        background-color: #6366f1;
        color: #fff;
        font-weight: 600;
    }

    label .tooltip-container i.zf-rr-info {
        font-size: 18px;
        line-height: 0;
        position: relative;
        top: 2px;
        display: inline-flex;
        align-items: center;
    }


    @keyframes select-highlight {
    0% {
        background-color: #1e2531; 
    }
    100% {
        background-color: #0d1116; 
    }
    }

    .custom-select-trigger.highlight-selection {
    animation: select-highlight 0.8s ease-in-out;
    }

    .sidebar-steps-container {
        display: flex;
        justify-content: space-between;  
        align-items: center;
        position: relative;
        width: 100%;
    }

    .sidebar-steps-container::before {
        content: '';
        position: absolute;
        top: 20px; 
        left: 20px;
        width: calc(100% - 40px); 
        height: 6px;
        background-color: #374151;
        z-index: 1;
        border-radius: 4px;
    }

    .sidebar-steps-container::after {
        content: '';
        position: absolute;
        top: 20px;
        left: 15px;
        width: 0;
        height: 6px;
        background-color: #6366f1;
        z-index: 1;
        border-radius: 4px;
        transition: width 0.4s ease-in-out;
    }

    .sidebar-step .step-number {
        position: relative;
        z-index: 2;
    }


    .sidebar-steps-container.step-1::after {
        width: 0;
    }
    .sidebar-steps-container.step-2::after {
        width: 50%;
    }
    .sidebar-steps-container.step-3::after {
        width: calc(100% - 40px);
    }

    .custom-option {
        display: flex; 
        align-items: center; 
        gap: 12px;
    }

    .poll-type-icon {
  width: 18px; 
  height: 29px;
  flex-shrink: 0;
  color: #ffffff;
  opacity: 0.8;
  transition: opacity 0.2s ease;

  /* gradient fade top → bottom */
  mask-image: linear-gradient(to bottom, white 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, white 0%, rgb(0 0 0 / 50%) 100%);
}

    .custom-option:hover .poll-type-icon,
    .custom-option.selected .poll-type-icon {
        opacity: 1; 
    }

    #poll-options-list {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 15px;
    }

    .poll-option-item {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .poll-option-item input {
        flex-grow: 1;
    }

    .remove-option-btn {
        background-color: rgba(255, 255, 255, 0.05);
        border: 1px solid #4B5563;
        color: #9CA3AF;
        width: 42px;
        height: 42px;
        flex-shrink: 0;
        border-radius: 6px;
        cursor: pointer;
        font-size: 1.6em;
        line-height: 1;
        transition: background-color 0.2s ease, border-color 0.2s ease;
    }

    .remove-option-btn:hover {
        background-color: #ef4444;
        border-color: #ef4444;
        color: #fff;
    }

    #add-poll-option-btn {
        background-color: #374151;
        color: #E5E7EB;
    }

    #add-poll-option-btn:hover {
        background-color: #374151;
        border-color: #4B5563;
    }

    .remove-option-btn:disabled {
        display: none;
    }

    .poll-options-actions {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-top: 15px; 
    }

    .actions-divider-text {
        font-size: 0.9em;
        font-weight: 500;
        color: #9CA3AF;
    }

    #paste-options-btn {
        color: #A5B4FC; 
        font-weight: 600;
        font-size: 0.85em;
        padding: 4px 0; 
    }

    #paste-options-btn:hover {
        text-decoration: underline;
        background-color: transparent !important; 
    }

    .remove-option-btn:disabled {
        display: none;
    }

    #paste-options-textarea {
        min-height: 180px;
        resize: vertical;
        line-height: 1.6;
        font-size: 0.9em;
        margin-bottom: 15px;
    }

    .paste-actions-footer {
        display: flex;
        justify-content: flex-start;
        gap: 12px;
    }

    #preview-paste-btn {
        background-color: #6366f1; 
    }

    #preview-paste-btn:hover {
        background-color: #4d4fba;
    }

    .btn-cancel-paste {
        background-color: #374151;
        border: 1.5px solid #374151; 
        color: #fff; 
    }

    .btn-cancel-paste:hover {
        background-color: #4B5563;
    }
    #image-options-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        margin-bottom: 15px;
    }

    .image-option-card {
        position: relative;
    }

    .image-uploader-label {
        position: relative;
        display: flex; 
        align-items: center; 
        justify-content: center;
        width: 100%;
        aspect-ratio: 1 / 1;
        border: 2px dashed #4B5563;
        border-radius: 8px;
        cursor: pointer;
        overflow: hidden;
        background-color: #19202b;
        transition: border-color 0.2s ease, background-color 0.2s ease;
    }

    .image-uploader-label:hover {
        border-color: #fff;
        background-color: #161b22;
    }

    .uploader-content {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        padding: 20px;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        color: #9CA3AF;
    }

    .video-uploader-label .uploader-content svg {
        width: 40px;
        height: 40px;
        color: #9CA3AF;
        margin-bottom: 15px;
    }

    .uploader-content i {
        font-size: 2.5em;
        margin-bottom: 2px;
    }

    .uploader-content span {
        font-weight: 600;
    }

    .uploader-content small {
        font-size: 0.8em;
        margin-top: 4px;
    }

    .image-uploader-label.has-image {
        border-style: solid;
        border-color: #4B5563; 
        padding: 0;
        cursor: default;
    }

    .image-uploader-label.has-image .uploader-content {
        display: none;
    }

    .image-preview {
        display: none;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .image-uploader-label.has-image .image-preview {
        display: block;
    }

    .image-label-input {
        margin-top: 10px;
        display: none; 
    }

    .image-option-card .remove-option-btn,
    .video-option-card .remove-option-btn {
        position: absolute;
        top: 16px;
        right: 4px; 
        z-index: 5;
        background-color: #0d1116;
        border: 1px solid #4B5563;
        width: 30px;
        height: 30px;
        font-size: 1.4em;
        display: none; 
    }

    #add-image-option-btn {
        margin-right: auto;
    }

    @media (max-width: 768px) {
        #image-options-grid {
            grid-template-columns: 1fr; 
        }
    }

    .image-uploader-label {
        position: relative;
    }

    .image-card-actions {
        position: absolute;
        bottom: 8px;
        right: 8px;
        z-index: 5;
        display: flex;
        gap: 8px;
        background-color: rgba(13, 17, 22, 0.7);
        backdrop-filter: blur(4px);
        padding: 6px;
        border-radius: 6px;
    }

    .image-card-actions .form-btn-link {
        font-size: 0.8em;
        padding: 4px 10px;
        font-weight: 600;
    }

    .image-card-actions .remove-image-btn {
        color: #fca5a5; 
    }

    .image-card-actions .remove-image-btn:hover {
        background-color: rgba(239, 68, 68, 0.1);
    }

    .poll-layout-controls {
        display: flex;
        gap: 20px;
        margin-bottom: 25px;
        padding-bottom: 25px;
        border-bottom: 1px solid #374151;
    }

    .poll-layout-controls .form-group {
        flex: 1;
        margin-bottom: 0;
    }

    @media (max-width: 768px) {
        .poll-layout-controls {
            flex-direction: column;
        }
    }
    #image-options-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    #image-options-grid.layout-list,
    #video-options-grid.layout-list {
        grid-template-columns: 1fr;
        max-width: 880px; 
        margin-left: auto;
        margin-right: auto;
    }

    #image-options-grid.layout-list .image-option-card,
    #video-options-grid.layout-list .video-option-card {
        display: flex;
        align-items: center; 
        gap: 15px;
        padding: 10px;
        border-radius: 8px;
        background-color: #161b22;
        transition: border-color 0.2s ease;
    }

    #image-options-grid.layout-list .image-option-card:has(.has-image),
    #video-options-grid.layout-list .video-option-card:has(.has-video) {
        border: 1px solid #374151;
    }

    /* Ito ang nasa baba niya (ang dating :hover rule) */
    #image-options-grid.layout-list .image-option-card:hover,
    #video-options-grid.layout-list .video-option-card:hover {
        border-color: #4b5563;
    }

    #image-options-grid.layout-list .image-uploader-label.has-image,
    #video-options-grid.layout-list .video-uploader-label.has-video {
        width: 180px; 
        height: auto; 
        flex-shrink: 0;
    }
    #image-options-grid.layout-list .image-label-input,
    #video-options-grid.layout-list .video-label-input {
        display: none; 
        margin-top: 0px;
        flex-grow: 1;
    }

    #image-options-grid.layout-list .image-uploader-label {
        width: 100%;
        height: 120px;
        aspect-ratio: unset;
        flex-shrink: 1;
        align-items: center;
        justify-content: center;
        transition: width 0.3s ease;
    }
    #image-options-grid.layout-list .remove-option-btn,
    #video-options-grid.layout-list .remove-option-btn {
        position: static; 
        margin-left: auto; 
    }
    @media (max-width: 768px) {
        #image-options-grid.layout-list .image-uploader-label.has-image,
        #video-options-grid.layout-list .video-uploader-label.has-video {
            width: 100px !important;
        }

        #image-options-grid.layout-list .image-uploader-label {
            width: 100% !important;
        }

        #image-options-grid.layout-list .image-option-card {
            gap: 12px !important;
        }
        #image-options-grid {
        grid-template-columns: 1fr !important; /* !important para ma-override ang dating rule */
    }
    }

    @media (max-width: 768px) {
    #image-options-grid.layout-list .image-card-actions,
    #video-options-grid.layout-list .video-card-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        left: 4px;
        right: 4px;
        bottom: 4px;
        width: auto;
    }

    #image-options-grid.layout-list .image-card-actions .form-btn-link,
    #video-options-grid.layout-list .video-card-actions .form-btn-link {
        padding: 5px 8px;
        font-size: 0.7em;
        justify-content: center;
    }
    }

    #image-options-grid.layout-list .uploader-content,
    #video-options-grid.layout-list .uploader-content {
        display: flex !important;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        padding: 20px;
        box-sizing: border-box;
    }
    #image-options-grid.layout-list .image-uploader-label.has-image .uploader-content,
    #video-options-grid.layout-list .video-uploader-label.has-video .uploader-content {
        display: none !important;
    }
    #image-options-grid.layout-list .image-uploader-label.has-image + .image-label-input {
        display: block !important;
    }
    #image-options-grid.ratio-1-1 .image-uploader-label {
        aspect-ratio: 1 / 1;
    }
    #image-options-grid.ratio-16-9 .image-uploader-label {
        aspect-ratio: 16 / 9;
    }
    #image-options-grid.ratio-9-16 .image-uploader-label {
        aspect-ratio: 9 / 16;
    }



    .image-preview {
        object-fit: contain;
    }

    .image-uploader-label.has-image .uploader-content {
        display: none;
    }


    #image-options-grid.layout-list .image-preview {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    #image-options-grid.layout-list.ratio-1-1 .image-preview {
        aspect-ratio: 1 / 1;
    }
    #image-options-grid.layout-list.ratio-16-9 .image-preview {
        aspect-ratio: 16 / 9;
    }
    #image-options-grid.layout-list.ratio-9-16 .image-preview {
        aspect-ratio: 9 / 16;
    }

    #image-options-grid.layout-list .image-uploader-label {
        width: 100%; 
        height: 120px;
        align-items: center; 
        justify-content: center;
        aspect-ratio: unset;
        transition: width 0.3s ease;
    }

    #image-options-grid.layout-list .image-uploader-label.has-image {
        width: 180px; 
        height: auto; 
        flex-shrink: 0;
    }

    #image-options-grid.layout-list.ratio-1-1 .image-uploader-label.has-image,
    #video-options-grid.layout-list.ratio-1-1 .video-uploader-label.has-video {
        aspect-ratio: 1 / 1;
    }
    #image-options-grid.layout-list.ratio-16-9 .image-uploader-label.has-image,
    #video-options-grid.layout-list.ratio-16-9 .video-uploader-label.has-video {
        aspect-ratio: 16 / 9;
    }
    #image-options-grid.layout-list.ratio-9-16 .image-uploader-label.has-image,
    #video-options-grid.layout-list.ratio-9-16 .video-uploader-label.has-video {
        aspect-ratio: 9 / 16;
    }



    .image-card-actions .remove-image-btn {
        display: none !important;
    }

    #image-options-grid.layout-list .image-option-card:has(.image-uploader-label.has-image) {
        border: 1px solid #374151;
        padding: 10px;
        border-radius: 8px;
        background-color: #161b22;
        transition: border-color 0.2s ease;
    }

    #video-options-grid.layout-list .video-option-card {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    #video-options-grid.layout-list .video-option-card:has(.has-video) {
        border: 1px solid #374151;
        padding: 16px;
        border-radius: 8px;
        background-color: #161b22;
        transition: border-color 0.2s ease;
    }

    #video-options-grid.layout-list .video-controls-wrapper {
        display: flex;
        flex-direction: column;
        flex-grow: 1;
        gap: 8px;
    }

    #video-options-grid.layout-list .video-controls-wrapper .remove-option-btn {
        position: static;
        align-self: flex-end;
        margin-left: 0;
        display: block !important;
    }

    #video-options-grid.layout-list .video-option-card:not(:has(.has-video)) .remove-option-btn {
        display: none !important;
    }

    #image-options-grid.layout-list .image-option-card:has(.image-uploader-label.has-image):hover {
        border-color: #4b5563;
    }

    #image-options-grid.layout-list .image-option-card {
        position: relative; 
    }

    #image-options-grid.layout-list .image-label-input {
        width: 100%;
        flex-grow: 0; 
    }

    #image-options-grid.layout-list .remove-option-btn {
        position: absolute; 
        top: 10px;
        right: 10px;
    }

    #video-options-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        margin-bottom: 15px;
    }

    .video-option-card {
        position: relative;
    }

    .video-uploader-label {
        position: relative;
        display: flex; 
        align-items: center; 
        justify-content: center;
        width: 100%;
        border: 2px dashed #4B5563;
        border-radius: 8px;
        cursor: pointer;
        overflow: hidden;
        background-color: #19202b;
        transition: border-color 0.2s ease, background-color 0.2s ease;
    }

    .video-uploader-label:hover {
        border-color: #fff;
        background-color: #161b22;
    }

    #video-options-grid.ratio-1-1 .video-uploader-label { aspect-ratio: 1 / 1; }
    #video-options-grid.ratio-16-9 .video-uploader-label { aspect-ratio: 16 / 9; }
    #video-options-grid.ratio-9-16 .video-uploader-label { aspect-ratio: 9 / 16; }

    .video-uploader-label.has-video {
        border-style: solid;
        border-color: #4B5563; 
        padding: 0;
        cursor: default;
    }

    .video-uploader-label.has-video .uploader-content {
        display: none;
    }

    .video-preview {
        width: 100%;
        height: 100%;
    }

    .video-preview iframe {
        width: 100%;
        height: 100%;
        border: none;
    }

    .video-label-input {
        margin-top: 10px;
    }

    .video-card-actions {
        position: absolute;
        bottom: 8px;
        right: 8px;
        z-index: 5;
        display: none;
        gap: 8px;
        background-color: rgba(13, 17, 22, 0.7);
        backdrop-filter: blur(4px);
        padding: 6px;
        border-radius: 6px;
    }

    .video-uploader-label.has-video .video-card-actions {
        display: flex;
    }


    @media (max-width: 768px) {
        #video-options-grid {
            grid-template-columns: 1fr !important;
        }
    }


    #image-options-grid.layout-list .image-uploader-label,
    #video-options-grid.layout-list .video-uploader-label {
        width: 100%; 
        height: 120px;
        align-items: center; 
        justify-content: center;
        aspect-ratio: unset;
        transition: width 0.3s ease;
    }

    #video-options-grid.layout-list .video-controls-wrapper {
        display: flex;
        flex-direction: column; 
        flex-grow: 1;
        gap: 8px; 
    }

    #video-options-grid.layout-list .video-controls-wrapper .remove-option-btn {
        position: static;
        align-self: flex-end; 
        margin-left: 0;
        display: block !important; 
    }

    #video-options-grid.layout-list .video-option-card:not(:has(.has-video)) .remove-option-btn {
        display: none !important; 
    }


    .settings-toggle-group {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        gap: 10px 20px;
        padding: 15px 0;
        border-bottom: 1px solid #374151;
    }

    .settings-toggle-group:last-of-type {
        border-bottom: none;
    }

    .settings-label {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
        text-align: left;
        font-weight: 600;
        color: #E5E7EB;
        margin: 0;
    }

    .settings-control {
        grid-column: 2 / 3;
        grid-row: 1 / 3;
        display: flex;
        align-items: center;
    }

    .settings-toggle-group .form-instruction-text {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
        margin: 0;
        padding-right: 20px; /* Optional: adds some space */
    }

    @media (max-width: 500px) {
        .settings-toggle-group {
            grid-template-columns: 1fr;
        }
        .settings-control {
            grid-column: 1 / 2;
            grid-row: 2 / 3;
            justify-content: flex-start;
            margin-top: 8px;
        }
        .settings-toggle-group .form-instruction-text {
            grid-row: 3 / 4;
            margin-top: 8px;
        }
    }

    .settings-grid-container {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .setting-item {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        gap: 5px 20px;
        padding: 15px 0; /* Adjusted padding */
        border-bottom: 1px solid #374151;
    }

    .settings-label-group {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
        text-align: left;
    }

    .setting-item .settings-control {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
    }

    .settings-instruction-text {
        font-size: 0.8em;
        color: #9CA3AF;
        font-weight: 400;
        margin: 4px 0 0 0;
        line-height: 1.4;
    }

    .settings-grid-container .form-group {
        padding: 15px 0;
        border-bottom: 1px solid #374151;
        text-align: left;
    }
    .settings-grid-container .form-group:last-child,
    .settings-grid-container .setting-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }


    /* Desktop Two-Column Layout (769px and up) */
    @media (min-width: 769px) {
        .settings-grid-container {
            display: grid;
            grid-template-columns: 1fr 1px 1fr;
            gap: 0 40px;
            align-items: flex-start;
        }

        .settings-grid-container::before {
            content: '';
            grid-column: 2 / 3;
            grid-row: 1 / -1;
            background-color: #374151;
            width: 1px;
            height: 100%;
        }

        .settings-column {
            display: flex;
            flex-direction: column;
            gap: 20px; /* Vertical gap between items */
        }
        
        .settings-instruction-text {
            display: block; /* Show instruction text on desktop */
        }

        /* Remove all horizontal borders inside columns on desktop */
        .settings-column .setting-item,
        .settings-column .form-group {
            border-bottom: none;
            padding: 0;
        }
    }

    @media (max-width: 768px) {
        #step-3 .form-navigation-btns {
            flex-direction: column;
            align-items: stretch;
            gap: 15px;
        }

        #step-3 .publish-actions {
            display: flex;
            flex-direction: column-reverse; 
            gap: 15px;
            width: 100%;
        }

        #step-3 .btn-prev {
            width: auto; 
            align-self: flex-start; 
        }
    }

    .poll-view-wrapper {
    width: 100%;
    max-width: 950px; 
    margin: 0 auto;
}

.poll-thumbnail {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px; 
    margin-top: 15px; 
    position: relative;
    z-index: 1;
    border: 1px solid #2a3441;
}
.poll-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.poll-view-container {
    background-color: #161b22;
    border: 1px solid #4b556366;
    border-radius: 12px;
    padding: 25px 30px;
    box-sizing: border-box;
    text-align: left;
    position: relative;
    z-index: 2;
    padding-top: 20px; 
}


.poll-view-wrapper:not(:has(.poll-thumbnail)) .poll-view-container {
    padding-top: 25px; 
}
.poll-author-info {
    margin-bottom: 20px;
    padding-left: 0px; 
}
.poll-content-divider {
    height: 1px;
    background-color: #2a3441;
    margin-bottom: 25px;
}

.poll-options-title {
    font-size: 0.9em;
    font-weight: 600;
    color: #E5E7EB;
    margin: 0 0 15px 0;
    text-align: left;
}

.poll-header {
    text-align: left;
    padding-bottom: 16px;
    margin-bottom: 0; 
}

.poll-author-info {
    display: flex;
    align-items: center;
    justify-content: flex-start; 
    gap: 12px;
    margin-bottom: 20px; 
}

.poll-author-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #161b22; 
    flex-shrink: 0;
    border: 2px solid #2a3441;
    
    display: flex;
    align-items: center;
    justify-content: center;
}

.poll-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.poll-author-avatar svg {
    width: 24px; 
    height: 24px;
    color: #9CA3AF; 
}

.poll-author-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.poll-author-name {
    font-weight: 600;
    color: #fff;
    font-size: 0.95em;
}

.poll-meta {
    font-size: 0.8em;
    color: #9CA3AF;
}


.poll-view-container h1 {
    font-size: 1.1em;
    font-weight: 600;
    color: #fff;
    margin: 0 0 10px 0;
}

.poll-description {
    font-size: 0.85em;
    color: #9ca3af;
    margin: 0;
    line-height: 1.6;
}

.poll-options-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.poll-option-result {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 10px 15px;
    align-items: center;
}

.option-label {
    grid-column: 1 / 4;
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.95em;
    color: #E5E7EB;
    padding: 12px;
    border: 1px solid #2a3441;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative; /* Idinagdag para sa ::after */
    background-color: #161b22; /* Default background */
    overflow: hidden; /* Para smooth ang gradient sa edges */
}

/* Line effect sa baba (gaya ng sa project-item) */
.option-label::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%); 
    width: 0%; 
    height: 1.5px; 
    background: linear-gradient(90deg, transparent, #8b97ad, transparent);
    transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 2;
}

/* Hover AND Checked State (para manatili ang effect pag napili) */
.option-label:hover,
.option-label:has(input:checked) {
    border-color: #4b5563;
    background: linear-gradient(90deg, #2a3441 0%, #161b22 100%);
}

.option-label:hover::after,
.option-label:has(input:checked)::after {
    width: 100%; 
}

.option-label input {
    margin-right: 12px;
}

.result-bar-wrapper {
    grid-column: 1 / 3;
    background-color: #161b22;
    border-radius: 4px;
    height: 28px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.result-bar {
    background-color: #6366f1;
    height: 100%;
    border-radius: 4px;
    transition: width 0.5s ease;
}

.result-percentage {
    position: absolute;
    left: 10px;
    font-size: 0.8em;
    font-weight: 600;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.result-votes {
    grid-column: 3 / 4;
    font-size: 0.8em;
    font-weight: 500;
    color: #9CA3AF;
    justify-self: end;
}

.poll-actions {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.total-votes-display {
    font-size: 0.9em;
    font-weight: 600;
    color: #9CA3AF;
}

@media (max-width: 500px) {
    .poll-view-container {
        padding: 20px;
    }
    .poll-thumbnail {
        margin-bottom: 0px;
    }
    .poll-view-container h1 {
        font-size: 1.1em;
    }

    .option-label {

        font-size: 0.85em;
    }

}

.poll-header {
    text-align: left; /* Align header text to the left */
}

.poll-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-actions-group {
    display: flex;
    gap: 10px;
}

/* Custom Radio and Checkbox Styles */
.option-label {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 12px;
}

.option-label input[type="radio"],
.option-label input[type="checkbox"] {
    display: none; /* Hide the default input */
}

.custom-input {
    width: 18px;
    height: 18px;
    border: 1.5px solid #6B7280;
    background-color: #374151;
    display: inline-block;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 50px;
}

input[type="radio"] + .custom-input {
    border-radius: 50%;
}

input[type="checkbox"] + .custom-input {
    border-radius: 2px;
}

/* Checked State */
input:checked + .custom-input {
    background-color: #6366f1;
    border-color: #6366f1;
}

/* Inner Mark for Radio */
input[type="radio"]:checked + .custom-input::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #0d1116;
}

/* Inner Mark for Checkbox */
input[type="checkbox"]:checked + .custom-input::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 0px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

/* View Toggling Logic */
.poll-view-container .result-bar-wrapper,
.poll-view-container .result-votes {
    display: none; /* Hide results by default */
}

.poll-view-container #back-to-poll-btn {
    display: none;
}

.poll-view-container.results-view-active .result-bar-wrapper,
.poll-view-container.results-view-active .result-votes {
    display: flex; /* Show results in results view */
}

.poll-view-container.results-view-active .option-label {
    pointer-events: none; /* Disable clicking on options in results view */
}

.poll-view-container.results-view-active #submit-vote-btn,
.poll-view-container.results-view-active #show-results-btn {
    display: none; /* Hide voting buttons in results view */
}

.poll-view-container.results-view-active #back-to-poll-btn {
    display: inline-flex; /* Show "Back to Poll" button */
}

@media (max-width: 500px) {
    .poll-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    .total-votes-display {
        text-align: center;
        order: -1; /* Move total votes to the top on mobile */
    }
}

.pill.category-single-choice {
    color: #7996ff;
    background-color: rgb(149 167 255 / 10%);
}
.pill.category-multi-select {
    color: #6EE7B7;
    background-color: rgba(110, 231, 183, 0.1);
}
.pill.category-ranking {
    color: #FCD34D;
    background-color: rgba(252, 211, 77, 0.1);
}
.pill.category-image-poll {
    color: #FCA5A5;
    background-color: rgba(252, 165, 165, 0.1);
}
.pill.category-video-poll {
    color: #9a80ff;
    background-color: rgba(196, 181, 253, 0.1);
}


.project-item[data-edit-link] {
    cursor: pointer;
}
.project-meta-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.project-status.status-published {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.project-status.status-published::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #4ade80; /* Kulay ng dot */
    box-shadow: 0 0 6px #4ade80; /* Glow effect */
}

#vote-success-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(17, 24, 39, 0.7);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#vote-success-modal-overlay.visible {
    opacity: 1;
    visibility: visible;
}

#vote-success-modal-container {
    background-color: #161b22;
    border: 1px solid #374151;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    width: 100%;
    max-width: 400px;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

#vote-success-modal-overlay.visible #vote-success-modal-container {
    transform: scale(1);
}

/* Re-using styles from report success modal */
.success-modal-icon {
    width: 64px;
    height: 64px;
    color: #22c55e;
    margin-bottom: 20px;
}
.success-modal-title {
    font-size: 1.4em;
    font-weight: 600;
    color: #fff;
    margin: 0 0 10px 0;
}
.success-modal-subtitle {
    color: #9CA3AF;
    margin: 0;
    line-height: 1.6;
}

.success-checkmark {
    width: 80px;
    height: 115px; /* Taas para sa buong animation space */
    margin: 0 auto;
}

.success-checkmark .check-icon {
    width: 80px;
    height: 80px;
    position: relative;
    border-radius: 50%;
    box-sizing: content-box;
    border: 4px solid #4CAF50;
    transform: scale(1); /* Initial state */
    opacity: 1; /* Initial state */
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

#vote-success-modal-overlay:not(.visible) .success-checkmark .check-icon {
    transform: scale(0.5); /* Smaller kapag nakatago */
    opacity: 0; /* Hidden kapag nakatago */
}


.success-checkmark .check-icon::before,
.success-checkmark .check-icon::after {
    content: '';
    height: 100px;
    position: absolute;
    background: #161b22; /* Itugma sa background ng modal */
    transform: rotate(-45deg);
}

.success-checkmark .check-icon::before {
    top: 3px;
    left: -2px;
    width: 30px;
    transform-origin: 100% 50%;
    border-radius: 100px 0 0 100px;
}

.success-checkmark .check-icon::after {
    top: 0;
    left: 30px;
    width: 60px;
    transform-origin: 0 50%;
    border-radius: 0 100px 100px 0;
    animation: rotate-circle 4.25s ease-in;
}

.success-checkmark .icon-line {
    height: 6px;
    background-color: #4CAF50;
    display: block;
    border-radius: 2px;
    position: absolute;
    z-index: 10;
}

.success-checkmark .icon-line.line-tip {
    top: 46px;
    left: 14px;
    width: 25px;
    transform: rotate(45deg);
    animation: icon-line-tip 0.75s;
}

.success-checkmark .icon-line.line-long {
    top: 38px;
    right: 8px;
    width: 47px;
    transform: rotate(-45deg);
    animation: icon-line-long 0.75s;
}

.success-checkmark .icon-circle {
    top: -6px;
    left: -6px;
    z-index: 10;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    position: absolute;
    box-sizing: content-box;
    border: 6px solid rgba(76, 175, 80, .5);
}

.success-checkmark .icon-fix {
    top: 8px;
    width: 5px;
    left: 26px;
    z-index: 1;
    height: 85px;
    position: absolute;
    transform: rotate(-45deg);
    background-color: #161b22; /* Itugma sa background ng modal */
}

/* Keyframes (kopyahin mo lang ito) */
@keyframes rotate-circle {
    0% { transform: rotate(-45deg); }
    5% { transform: rotate(-45deg); }
    12% { transform: rotate(-405deg); }
    100% { transform: rotate(-405deg); }
}

@keyframes icon-line-tip {
    0% { width: 0; left: 1px; top: 19px; }
    54% { width: 0; left: 1px; top: 19px; }
    70% { width: 50px; left: -8px; top: 37px; }
    84% { width: 17px; left: 21px; top: 48px; }
    100% { width: 25px; left: 14px; top: 45px; }
}

@keyframes icon-line-long {
    0% { width: 0; right: 46px; top: 54px; }
    65% { width: 0; right: 46px; top: 54px; }
    84% { width: 55px; right: 0px; top: 35px; }
    100% { width: 47px; right: 8px; top: 38px; }
}

.ranking-poll-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-left: 26px;
    padding-right: 26px;
}

.ranking-option-item {
    position: relative; 
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: #161b22; /* Default bg */
    border: 1px solid #4B5563;
    border-radius: 8px;
    padding: 12px 15px;
    cursor: grab;
    user-select: none;
    overflow: hidden; /* Para sa line animation */
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

/* Line Effect */
.ranking-option-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%); 
    width: 0%; 
    height: 1.5px; 
    background: linear-gradient(90deg, transparent, #8b97ad, transparent);
    transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 2;
}

/* Hover & Dragging State */
.ranking-option-item:hover,
.ranking-option-item.dragging {
    border-color: #4b5563;
    background: linear-gradient(90deg, #2a3441 0%, #161b22 100%);
}

.ranking-option-item:hover::after,
.ranking-option-item.dragging::after {
    width: 100%;
}

.media-card-inner, .media-result-card {
    background-color: #161b22; 
    border: 1px solid #374151;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.2s ease, transform 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative; /* Idinagdag */
}

/* Idagdag ito sa ilalim ng block na nasa itaas */
.media-card-inner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%); 
    width: 0%; 
    height: 1.5px; 
    background: linear-gradient(90deg, transparent, #8b97ad, transparent);
    transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 2;
}
.ranking-option-item:active {
    cursor: grabbing;
}

.ranking-option-item.dragging {
    opacity: 0.5;
    background-color: #4b5563;
    transform: scale(1.02);
}

.rank-number-container {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(17, 24, 39, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #9CA3AF;
    border: 1px solid #4B5563;
}

.ranking-option-item .option-text {
    flex-grow: 1;
    font-weight: 500;
    color: #E5E7EB;
}

.rank-points-container {
    display: flex;
    align-items: baseline;
    gap: 6px;
    color: #D1D5DB;
    flex-shrink: 0;
}

.rank-points {
    font-size: 1em;
    font-weight: 600;
    color: #A5B4FC;
}

.points-label {
    font-size: 0.8em;
    font-weight: 600;
    color: #9CA3AF;
}

.ranking-results-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ranking-result-item {
    display: grid;
    grid-template-columns: auto 1fr auto; 
    align-items: center;
    gap: 15px;
    background-color: #2a3441;
    border-radius: 8px;
    padding: 12px 15px;
    border: 1px solid #4B5563;
}

.result-rank {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #161b22;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #9CA3AF;
    border: 1px solid #4B5563;
}

.result-text {
    font-weight: 500;
    color: #E5E7EB;
    justify-self: start; 
}

.result-points-value {
    font-weight: 600;
    font-size: 1em;
    color: #D1D5DB;
    justify-self: end; 
}

.poll-view-container.results-view-active .poll-option-result {
    display: none;
}

.results-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.result-item {
    background-color: transparent;
    border: 1px solid #2a3441;
    border-radius: 8px;
    padding: 8px 12px;
    transition: border-color 0.2s ease;
}

.result-item:hover {
    border-color: #9CA3AF;
}

.result-item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 6px;
}

.result-option-text {
    font-weight: 600;
    color: #E5E7EB;
    font-size: 0.95em;
}

.result-votes-count {
    font-size: 0.85em;
    color: #9CA3AF;
    font-weight: 500;
}

.results-container .result-bar-wrapper {
    background-color: #2a3441;
    border-radius: 4px;
    height: 20px;
    width: 100%;
    overflow: hidden;
    display: block;
}

.results-container .result-bar {
    height: 100%;
    border-radius: 4px;
    transition: width 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.result-item-header .result-option-text {
    display: flex;
    align-items: center;
    gap: 15px;
}

.result-item-header .result-rank {
    flex-shrink: 0;
}

.result-votes-group {
    display: flex;
    align-items: baseline;
    gap: 12px;
    white-space: nowrap; 
}

.result-votes-group .result-points-value {
    font-weight: 600;
    font-size: 0.9em;
    color: #9ca3af;
}



.poll-media-grid, .poll-media-results {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
}

.poll-media-grid.layout-list, .poll-media-results.layout-list {
    grid-template-columns: 1fr;
}

.ratio-1-1 .media-wrapper { aspect-ratio: 1 / 1; }
.ratio-16-9 .media-wrapper { aspect-ratio: 16 / 9; }
.ratio-9-16 .media-wrapper { aspect-ratio: 9 / 16; }

.media-option-item {
    cursor: pointer;
    position: relative;
}

.media-option-item input {
    display: none;
}

.media-card-inner, .media-result-card {
    background-color: #161b22; 
    border: 1px solid #374151;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.2s ease, transform 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.layout-list .media-card-inner, .layout-list .media-result-card {
    flex-direction: row;
    align-items: center;
    height: auto;
    padding: 10px;
}

.layout-list .media-wrapper {
    width: 120px; 
    flex-shrink: 0;
    margin-right: 15px;
    border-radius: 6px;
}

.media-wrapper {
    position: relative;
    width: 100%;
    background-color: #0d1116;
    overflow: hidden;
}

.media-wrapper img, .media-wrapper iframe, .media-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.check-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    background-color: #6366f1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.check-indicator i {
    color: white;
    font-size: 14px;
}

.media-option-item:hover .media-card-inner {
    border-color: #4b5563;
    background: linear-gradient(90deg, #2a3441 0%, #161b22 100%);
}

.media-option-item:hover .media-card-inner::after {
    width: 100%;
}

/* Checked State */
.media-option-item input:checked + .media-card-inner {
    border-color: #6366f1; /* Mananatiling purple ang border pag selected */
    background: linear-gradient(90deg, #2a3441 0%, #161b22 100%); /* Pero may gradient bg na */
    box-shadow: 0 0 0 1px #6366f1;
}

.media-option-item input:checked + .media-card-inner::after {
    width: 100%;
}

.media-option-item input:checked + .media-card-inner .check-indicator {
    opacity: 1;
    transform: scale(1);
}

.media-label {
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-grow: 1;
}

.media-label .text {
    font-weight: 600;
    color: #E5E7EB;
    font-size: 0.9em;
}

.media-label .custom-input {
    flex-shrink: 0; 
}


.result-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    display: flex;
    align-items: flex-end;
    padding: 10px;
}

.result-percentage-large {
    font-size: 1.5em;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.media-result-info {
    padding: 12px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.option-label-text {
    font-weight: 600;
    color: #E5E7EB;
    font-size: 0.9em;
}

.vote-count-text {
    font-size: 0.8em;
    color: #9CA3AF;
}



.project-thumbnail svg {
    width: 22px;
    height: 22px;
}


.thumb-single {
        background: linear-gradient(to bottom, #2a7bff 0%, #004ecf 100%);
        color: #0054dd;
        box-shadow: 0 8px 20px -4px rgba(42, 123, 255, 0.5); /* Blue Shadow */
    }

    .thumb-multi {
        background: linear-gradient(to bottom, #00c146 0%, #017f2e 100%);
        color: #00c146;
        box-shadow: 0 8px 20px -4px rgba(0, 193, 70, 0.5); /* Green Shadow */
    }

    .thumb-ranking {
        background: linear-gradient(to bottom, #ed9500 0%, #c56d00 100%);
        color: #ed9500;
        box-shadow: 0 8px 20px -4px rgba(237, 149, 0, 0.5); /* Orange/Gold Shadow */
    }

    .thumb-image {
        background: linear-gradient(to bottom, #ef4444 0%, #d70f0f 100%);
        color: #f87171;
        box-shadow: 0 8px 20px -4px rgba(239, 68, 68, 0.5); /* Red Shadow */
    }

    .thumb-video {
        background: linear-gradient(to bottom, #7477eb  0%, #484ce5  100%);
        color: #7648ff;
        box-shadow: 0 8px 20px -4px rgba(116, 119, 235, 0.5); /* Purple Shadow */
    }


@media (max-width: 768px) {
    .project-item {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 15px 10px; 
        padding: 15px;
        align-items: center;
    }

    .project-item .project-thumbnail {
        grid-row: 1;
        grid-column: 1; 
        width: 50px;
        height: 50px;
        margin: 0;
        z-index: 2;
    }

    .project-item .project-details {
        grid-row: 1;
        grid-column: 1 / -1; 
        padding-left: 62px; 
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        min-height: 50px;
        width: auto;
    }
    
    .project-item .project-name {
        justify-content: flex-start;
        text-align: left;
        width: 100%;
    }

    .project-item > .tooltip-container {
        grid-row: 2;
        grid-column: 1;
        justify-self: center;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .project-item .project-stat-item:nth-of-type(1) {
        grid-row: 2;
        grid-column: 2;
        width: 100%;
        margin: 0; 
    }

    .project-item .project-stat-item:nth-of-type(2) {
        grid-row: 2;
        grid-column: 3;
        width: 100%;
        margin: 0; 
    }
    
    .project-item .project-actions {
        position: absolute;
        top: 15px;
        right: 10px;
        z-index: 5;
    }

    .project-stats-desktop {
        display: none;
    }
}

.other-option-input::placeholder {
    color: #D1D5DB !important;  
    opacity: 0.7 !important;    
}

 .other-option-input:focus::placeholder {
    opacity: 0.4 !important;
}

.media-option-item input:checked + .media-card-inner .custom-input {
    background-color: #6366f1;
    border-color: #6366f1;
}

 .media-option-item input[type="checkbox"]:checked + .media-card-inner .custom-input::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

 .media-option-item input[type="radio"]:checked + .media-card-inner .custom-input::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #0d1116;
}

.sortable-ghost {
    opacity: 0.2;  
    background-color: #0d1116;  
    border: 2px dashed #4B5563; 
    color: transparent; 
}

.sortable-ghost * {
    opacity: 0;  
}

 .sortable-drag {
    cursor: grabbing;
    opacity: 1;
    background-color: #2a3441;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    transform: scale(1.02);  
}

 .ranking-option-item {
    cursor: grab;
}
.ranking-option-item:active {
    cursor: grabbing;
}

.media-result-info .result-bar-wrapper {
    height: 6px !important; 
    background-color: #2a3441;
    border-radius: 4px;
    margin-top: 5px;
}

.media-result-info .result-bar {
    border-radius: 4px;
}

.ratio-1-1 .media-wrapper, 
.ratio-1-1 .skeleton-thumbnail {
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    width: 100% !important;
}

.ratio-16-9 .media-wrapper, 
.ratio-16-9 .skeleton-thumbnail {
    aspect-ratio: 16 / 9 !important;
    height: auto !important;
    width: 100% !important;
}

.ratio-9-16 .media-wrapper, 
.ratio-9-16 .skeleton-thumbnail {
    aspect-ratio: 9 / 16 !important;
    height: auto !important;
    width: 100% !important;
}

 .skeleton-thumbnail {
    height: auto !important; 
}

.terms-disclaimer {
        grid-column: 2 / 3; 
        text-align: center;
        font-size: 0.85em;
        color: #9fabbc;
        margin-top: 12px;
            font-weight: 500;
    }

    .terms-disclaimer a {
        color: #A5B4FC;
        text-decoration: none;
        font-weight: 600;
        transition: color 0.2s;
    }

    .terms-disclaimer a:hover {
        color: #fff;
        text-decoration: underline;
    }

    @media (max-width: 900px) {
        .terms-disclaimer {
            grid-column: 1 / -1; 
            margin-bottom: 40px;
            order: 5; 
        }
    }


.poll-bottom-section {
    width: 100%;
    max-width: 950px;
    margin: 80px auto 0 auto; 
    display: flex;
    flex-direction: column;
    gap: 0px; 
}

.owner-visibility-notice {
    background-color: rgba(252, 211, 77, 0.1);
    border: 1px solid rgba(252, 211, 77, 0.3);
    color: #fbbf24;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.85em;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.owner-visibility-notice i {
    font-size: 1.1em;
}

.share-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #212935; 
    transition: all 0.2s ease;
    text-decoration: none;
}

.share-icon-btn svg {
    width: 22px;
    height: 22px;
    color: #a7b4c7; 
    fill: currentColor;
    transition: color 0.2s ease;
}

.share-icon-btn:hover {
    background-color: #4B5563;
    transform: translateY(-2px);
}

.share-icon-btn:hover svg {
    color: #ffffff;
}

.form-btn.copy-link-btn {
    background-color: #374151;
    color: #D1D5DB;
    border: 1px solid #4B5563;
    border-left: none;
    transition: all 0.2s ease;
}

.form-btn.copy-link-btn:hover {
    background-color: #4B5563; 
    color: #ffffff;
}

.share-section-label {
    text-align: left;
    color: #9CA3AF; 
    font-size: 0.9em;
    font-weight: 600;
    margin: 0 0 12px 0; 
    padding-left: 5px;
}

.share-section-label.secondary {
    margin-top: 25px; 
}

.project-item.compact-view {
    position: relative;
    display: block; 
    padding: 15px;
    padding-right: 60px; 
    padding-bottom: 50px; 
    margin-bottom: 10px !important;
    background-color: #161b22;
    border: 1px solid #374151;
    border-radius: 12px;
    min-height: 60px;
}

.project-item.compact-view .compact-content {
    display: flex;
    align-items: flex-start; 
    gap: 15px;
}

.project-item.compact-view .project-thumbnail {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
}

.project-item.compact-view .project-actions {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 5;
}

.project-item.compact-view .compact-stats {
    position: absolute;
    bottom: 15px;
    right: 15px;
    display: flex;
    gap: 10px;
}

.project-item.compact-view .project-stat-item {
    background-color: #2a3441;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.85em;
}

@media (max-width: 500px) {
    .project-item.compact-view .compact-stats {
        right: auto;
        left: 15px; 
    }
}


.top-projects-header, 
.top-project-item {
    display: grid !important;
    /* Rank | Thumb | Title (Flexible) | Status | Votes | Views */
    grid-template-columns: 40px 50px 1fr 100px 80px 80px !important; 
    gap: 15px;
    align-items: center;
    padding: 15px 20px;
    min-width: 600px; 
}

.top-project-item .project-stat,
.top-project-item .project-status,
.projects-list-header span {
    text-align: center;
    justify-self: center;
}

.top-project-item .project-title,
.projects-list-header span:nth-child(2) { 
    text-align: left;
    justify-self: start;
}

.project-item.compact-view:hover {
    transform: none !important; 
    z-index: auto;  
    background-color: #1f2937; 
    border-color: #4b5563;
    box-shadow: none; 
}

.auth-bottom-glow {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateY(40%); 
    width: 150vw; 
    height: 50vh; 
    background-color: #6366f10f; 
    border-radius: 50%;
    filter: blur(80px); 
    z-index: -1; 
    pointer-events: none; 
}

.verify-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #161b22; 
    border: 2px solid #374151; 
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px auto;
    box-shadow: 0 6px 16px rgb(42 52 65 / 56%);

}

.verify-icon-wrapper svg {
    width: 48px;
    height: 48px;
    color: #fff;
}



.poll-description {
    font-size: 0.9em;
    color: #9CA3AF;
    line-height: 1.6;
    margin-top: 10px;
    word-break: break-word;
}

/* Ayusin ang spacing ng paragraphs sa loob */
.poll-description p {
    margin: 0 0 10px 0;
}

/* Ayusin ang kulay ng Bold text para bumasa */
.poll-description strong, 
.poll-description b {
    color: #E5E7EB; /* Gawing mas matingkad kaysa sa gray text */
    font-weight: 700;
}

/* Ayusin ang Lists (Bullets/Numbers) */
.poll-description ul, 
.poll-description ol {
    padding-left: 20px;
    margin: 5px 0 15px 0;
}

.poll-description li {
    margin-bottom: 4px;
}

/* Ayusin ang Links sa loob ng description */
.poll-description a {
    color: #A5B4FC;
    text-decoration: underline;
}

/* --- Mobile Fix for Share & Comments Section Padding --- */
@media (max-width: 768px) {
    /* Fix sa Share Section */
    #share-section-container .box-body {
        padding: 20px 15px !important; 
    }

    /* Fix sa Comments Section (Specific sa inner container para ma-override ang inline style) */
    #comments-section-container .comments-section-container {
        padding: 20px 15px !important; /* Ginawang 15px ang gilid para hindi masikip */
    }

    /* Siguraduhin na ang box-body ng comments ay walang extra padding */
    #comments-section-container .box-body {
        padding: 0 !important;
    }

    /* Center social buttons on mobile */
    .social-share-buttons {
        justify-content: center !important;
    }
}


.modal-overlay {
    position: fixed !important; /* Pinupwersa na maging overlay */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(13 17 22 / 60%);
    backdrop-filter: blur(5px);
    z-index: 9999 !important; /* Siguradong nasa ibabaw */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}


/* --- Login Required Modal Styling (Auth Style) --- */

#login-required-modal {
    /* 1. Reset natin ang default modal styles */
    background-color: transparent !important; 
    border: none !important; 
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    
    /* 2. Setup para sa pseudo-elements */
    position: relative;
    overflow: hidden;
    z-index: 1;
    padding: 40px 30px !important; /* Dagdag padding */
    border-radius: 12px;
}

/* 3. Rotating Gradient (Likod) */
#login-required-modal::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        #374151 0deg, 
        #374151 160deg, 
        #A5B4FC 180deg, /* Light Purple Shine */
        #374151 200deg, 
        #374151 360deg
    );
    animation: rotateBorder 4s linear infinite;
    z-index: -2;
}

/* 4. Inner Background (Tatakip sa gitna) */
#login-required-modal::after {
    content: '';
    position: absolute;
    inset: 2px; /* Kapal ng border */
    background-color: #161b22; /* Dashboard dark color */
    border-radius: 12px; /* Match sa border-radius ng modal */
    z-index: -1;
}

/* 5. Fix para sa Header Icon Centering */
#login-required-modal .modal-header {
    display: flex !important;
    justify-content: center !important; /* I-center ang laman horizontally */
    align-items: center !important;
    width: 100%;
    margin-bottom: 15px;
    border-bottom: none !important; /* Alisin ang linya sa ilalim ng icon */
    padding: 0 !important;
}

/* Siguraduhin na ang content ay nasa ibabaw */
#login-required-modal > * {
    position: relative;
    z-index: 2;
}

@media (max-width: 500px) {
    #login-required-modal {
        width: 90% !important; 
        max-width: 350px !important;
        padding: 30px 20px !important;
    }

    #login-required-modal .modal-header > div {
        width: 50px !important;
        height: 50px !important;
        margin-bottom: 10px !important;
    }

    #login-required-modal h2 {
        font-size: 1.3em !important;
    }
}

.login-modal-icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: #161b22; 
    border: 2px solid #374151; 
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
}

.login-modal-icon-wrapper i {
    font-size: 24px;
    color: #ffffff; 
    line-height: 0;
}
    .landing-hero {
        text-align: center;
        padding: 0px 180px 1px; 
        
        width: 100%;
        max-width: 1300px;
        margin: 40px auto 0; 
        box-sizing: border-box;
        
        border-radius: 18px;
        border: none;
        
        background-color: #0D1116;
        
        background-image: radial-gradient(
            ellipse 110% 100% at 50% 16%,     
            #0D1116 50%,                      
            rgb(99 102 241 / 60%) 85%,        
            #6366f1 100%                      
        );
        
        position: relative;
        
        /* MAHALAGA: Ito ang magpapalabas sa image */
        overflow: visible; 
        z-index: 10;

         perspective: 1200px; 
    }

    /* MOBILE ADJUSTMENT */
    @media (max-width: 768px) {
        .landing-hero {
            padding: 80px 20px;
            background-image: radial-gradient(
                    ellipse 200% 100% at 50% 0%, 
                    #0D1116 40%, 
                    rgba(99, 102, 241, 0.5) 100%
                );
                background-size: cover;
                background-position: center top;
        }
        .landing-hero h1 {
            font-size: 1.6em !important;
        }

        .landing-subtitle {
    width: 360px ;   
    }
    }
    .landing-hero h1 {
        font-size: 2em;
        margin-bottom: 15px;
        line-height: 1.2;
        
        /* ITO ANG BINAGO: Gradient mula Grey -> White -> Grey */
        background: linear-gradient(to right, #9ca3af 0%, #fff 40%, #fff 60%, #9ca3af 100%);
        
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    .landing-subtitle {
        font-size: 0.9em;
        color: #9CA3AF;
        margin-bottom: 30px;
        line-height: 1.6;
    max-width: 600px;      
        margin: 0 auto 30px;   
    }
    .hero-actions {
        display: flex;
        justify-content: center;
        gap: 15px;
    }
    .features-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
        max-width: 1100px;
        
        /* PINALITAN: Ginawang 30px na lang ang top margin (dati 260px) */
         margin: 0 auto 40px; 
        
        padding: 0 20px;
        position: relative;
        z-index: 5;
    }

     .features-title {
        text-align: center;
        margin-top: 260px; 
        margin-bottom: 5px;
        position: relative;
        z-index: 5;
    }

    /* Ang Text Mismo (Dito ang Gradient) */
    .features-title span {
        font-size: 1.1em;
        font-weight: 700;
        
        /* Adjusted Gradient: Mas dikit sa text ang dark areas */
        background: linear-gradient(to right, #6b7280 0%, #fff 25%, #fff 75%, #6b7280 100%);
        
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    /* Bagong Subheading Style */
    .features-subtitle {
        text-align: center;
        font-size: 0.9em;
        color: #9CA3AF;
        margin-top: 0;
        margin-bottom: 40px; /* Ito na ang magtutulak sa Cards pababa */
        position: relative;
        z-index: 5;
    }
    .feature-card {
        background-color: #161b22;
        border: 1px solid #374151;
        border-radius: 12px;
        padding: 20px;
        display: flex;
        align-items: flex-start;
        gap: 15px;
        
        position: relative;
        overflow: hidden; 

        /* --- IDAGDAG MO ITONG MGA SUMUSUNOD: --- */
        opacity: 0; /* Tago muna */
        filter: blur(10px); /* Malabo sa simula */
        transition: 
            transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
            opacity 0.8s ease,
            filter 0.8s ease,
            border-color 0.2s; /* Smooth ang pagbuo */
    }

    feature-card:nth-child(1) { transform: translate(-50px, -50px) rotate(-5deg); }
    
    /* Card 2: Galing sa Kanan-Taas */
    .feature-card:nth-child(2) { transform: translate(50px, -50px) rotate(5deg); }
    
    /* Card 3: Galing sa Ilalim */
    .feature-card:nth-child(3) { transform: translate(0, 80px); }
    
    /* Card 4: Galing sa Kaliwa-Baba */
    .feature-card:nth-child(4) { transform: translate(-50px, 50px) rotate(-3deg); }
    
    /* Card 5: Galing sa Kanan-Baba */
    .feature-card:nth-child(5) { transform: translate(50px, 50px) rotate(3deg); }


    /* --- FINAL STATE (Kapag nasa view na / "Naka-align") --- */
    .feature-card.in-view {
        opacity: 1;
        filter: blur(0);
        transform: translate(0, 0) rotate(0);
    }

    .feature-card::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 0%;
        height: 2px; /* Kapal ng guhit */
        /* Gradient na purple sa gitna at transparent sa dulo (gaya ng theme mo) */
        background: linear-gradient(90deg, transparent, #8b97ad, transparent); 
        transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        z-index: 2;
    }

    .feature-card:hover::after {
        width: 100%;
    }
    .feature-card:hover {
        transform: translateY(-3px);
        border-color: #5c6a7e;
            background-color: #202733;
            
    }
    .feature-icon-box {
        width: 50px;
        height: 50px;
        background-color: #0d1116;
        border: 1px solid #374151;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        color: #6366f1;
    }
    .feature-icon-box svg {
        width: 24px;
        height: 24px;
    }
    .feature-text h3 {
        margin: 0 0 5px 0;
        font-size: 1.1em;
        color: #E5E7EB;
    }
    .feature-text p {
        margin: 0;
        font-size: 0.85em;
        color: #9CA3AF;
        line-height: 1.5;
    }
    .cta-section {
        text-align: center;
        padding: 80px 20px;
        margin-top: 40px;
    }

    .section-divider {
        width: 100%;
        height: 2px;
        background: linear-gradient(90deg, transparent, #374151, transparent);
        margin: 40px 0; /* Ito ang magbibigay ng space sa taas at baba */
        opacity: 0.8;
    }

    


    .hero-image-wrapper {
        margin-top: 60px; 
        position: relative;
        z-index: 20;  
        margin-bottom: -180px; 
        
        /* Binago para maging container ng border */
        max-width: 1000px;
        width: calc(100% - 40px); /* Ito ang papalit sa dating padding: 0 20px */
        margin-left: auto;
        margin-right: auto;
        padding: 2.5px; /* Ito ang kapal ng umiikot na border */
        border-radius: 14px; /* Outer radius */
        overflow: hidden;
        background-color: #161b22;
    transform-origin: center center; /* Sa gitna iikot */
        will-change: transform; /* Performance optimization */
        transform-style: preserve-3d; /* Para sumama ang border sa 3D */
        will-change: transform, opacity, filter; 
    }

    /* Ito ang magic para sa umiikot na border */
    .hero-image-wrapper::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: conic-gradient(
            #374151 0deg, 
            #374151 160deg, 
            #A5B4FC 180deg, 
            #374151 200deg, 
            #374151 360deg
        );
        animation: rotateBorder 4s linear infinite;
        z-index: 0;
    }

    .hero-image-wrapper img {
        width: 100%;
        height: auto;
        border-radius: 12px; /* Inner radius */
        
        /* Inalis na natin ang static na border dito */
        /* border: 1px solid #374151; */ 
        
        box-shadow: 0 30px 80px -20px rgba(99, 102, 241, 0.4);  
        
        display: block;
        position: relative; /* Importante: Para pumatong siya sa animation */
        z-index: 1; 
        background-color: #0d1116; 
    }

     @media (max-width: 768px) {
        .hero-image-wrapper {
            margin-top: 40px;
        }
        .hero-image-wrapper img {
            border-radius: 8px;
        }
    }

    @media (max-width: 768px) {
        .landing-hero {
            padding: 0px 0px 1px;  
        }
        .hero-image-wrapper {
            margin-bottom: -80px; 
        }
        .features-grid {
            margin-top: 120px; 
        }
        .hero-image-wrapper img {
            box-shadow: 0 10px 40px -10px rgba(99, 102, 241, 0.3);
        }
    }

    @media (min-width: 1024px) {
    .features-grid {
        display: flex !important;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    .feature-card {
        /* Calculation: (100% / 3 items) minus gap adjustment */
        width: calc(33.333% - 14px); 
        box-sizing: border-box;
    }
}

.bottom-blur-fade {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 120px;
        background: linear-gradient(to bottom, transparent 0%, rgba(13, 17, 22, 0.9) 100%);
        backdrop-filter: blur(6px);
        -webkit-mask-image: linear-gradient(to bottom, transparent, black 40%);
        mask-image: linear-gradient(to bottom, transparent, black 40%);
        z-index: 90;
        pointer-events: none;
        
         transition: opacity 0.5s ease;
        opacity: 1;
    }

     .bottom-blur-fade.hide-blur {
        opacity: 0;
    }

    .showcase-section {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 40px 25px;
        box-sizing: border-box;
        overflow: hidden;  
    }

    .showcase-grid {
        display: grid;
        grid-template-columns: 1fr 1.5fr;
        gap: 60px;
        align-items: center;
    }

    .reverse-layout .showcase-grid {
        grid-template-columns: 1.5fr 1fr; 
    }

     .showcase-text h2 {
        font-size: 1.6em;
        font-weight: 700;
        margin-bottom: 20px;
        color: #fff;
        line-height: 1.2;
        text-align: left;
        
         background: linear-gradient(to right, #6b7280 0%, #fff 25%, #fff 75%, #6b7280 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .showcase-text p {
        font-size: 1em;
        color: #9CA3AF;
        line-height: 1.8;
        margin-bottom: 20px;
        text-align: left;
    }


    .showcase-text strong {
        color: #E5E7EB;
        font-weight: 600;
    }

     .showcase-img-wrapper {
        position: relative;
        border-radius: 12px;
        background-color: #161b22;
        -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
        mask-image: linear-gradient(to bottom, black 75%, transparent 100%);
        transition: transform 0.4s ease, box-shadow 0.4s ease;
    }

    .showcase-img-wrapper:hover {
        transform: translateY(-5px) scale(1.01);
        border-color: #6366f1;
    }

     .showcase-img-wrapper img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 8px;
        background-color: #0d1116;
    }

     @media (max-width: 900px) {
        .showcase-grid {
            grid-template-columns: 1fr;  
            gap: 40px;
        }

        .showcase-text {
            order: 1; 
            text-align: center;
        }

        .showcase-text h2, 
        .showcase-text p {
            text-align: center;
        }

        .showcase-image {
            order: 2;  
        }
        
        .showcase-text h2 {
             background: linear-gradient(to right, #9ca3af 0%, #fff 50%, #9ca3af 100%);
             -webkit-background-clip: text;
             background-clip: text;
        }
    }

     .showcase-text {
        opacity: 0;
        transform: translateX(-80px);  
        filter: blur(10px);
        transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
    }

     .showcase-image {
        opacity: 0;
         transform: translateX(80px) scale(0.95); 
        filter: blur(10px);
        transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
     }

     
    .showcase-text.in-view {
        opacity: 1;
        transform: translateX(0);
        filter: blur(0);
    }

    .showcase-image.in-view {
        opacity: 1;
        transform: translateX(0) scale(1);
        filter: blur(0);
    }

    .reverse-layout .showcase-grid {
        grid-template-columns: 1.5fr 1fr; 
    }

 
     .reverse-layout .showcase-image {
        transform: translateX(-80px) scale(0.95);
    }

     .reverse-layout .showcase-text {
        transform: translateX(80px);
    }

     @media (max-width: 900px) {
        .reverse-layout .showcase-grid {
            grid-template-columns: 1fr;
        }
        
         .reverse-layout .showcase-image {
            order: 1;
        }
        .reverse-layout .showcase-text {
            order: 2;
        }
    }

    

    .showcase-text {
        opacity: 0;
        transform: translateX(-80px);
        filter: blur(10px);
        transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
    }

    .showcase-image {
        opacity: 0;
        transform: translateX(80px) scale(0.95);
        filter: blur(10px);
        transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
    }

     .reverse-layout .showcase-image {
        transform: translateX(-80px) scale(0.95) !important;  
    }

    .reverse-layout .showcase-text {
        transform: translateX(80px) !important;  
    }

      
    .showcase-text.in-view {
        opacity: 1 !important;
        transform: translateX(0) !important;
        filter: blur(0) !important;
    }

    .showcase-image.in-view {
        opacity: 1 !important;
        transform: translateX(0) scale(1) !important;
        filter: blur(0) !important;
    }

     @media (max-width: 900px) {
        .showcase-grid, .reverse-layout .showcase-grid {
            grid-template-columns: 1fr;
            gap: 40px;
        }

        .showcase-text, .reverse-layout .showcase-text {
            text-align: center;
            order: 1;  
        }

        .showcase-image, .reverse-layout .showcase-image {
            order: 2;
        }
        
        .showcase-text h2, .showcase-text p {
            text-align: left;
        }
    }
    

    .poll-ad-container {
    display: none;  
    width: 100%;
    max-width: 950px;
    margin: 25px auto;
    background-color: #161b22;
    border: 1px solid #374151;
    border-radius: 12px;
    padding: 15px;
    box-sizing: border-box;
    text-align: center;
    overflow: hidden;
}

.poll-ad-label {
    display: block;
    font-size: 0.7em;
    color: #6B7280;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
}

.owner-visibility-notice {
        background-color: #1f2937; 
        border: 1px solid #374151;
        color: #E5E7EB;
        padding: 15px 20px;
        border-radius: 8px;
        font-size: 0.9em;
        margin-bottom: 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    }

    .notice-content {
        display: flex;
        align-items: center;
        gap: 12px;
        text-align: left;
    }

    .notice-content i {
        font-size: 1.4em;
        color: #A5B4FC;  
    }

    .notice-content strong {
        color: #fff;
        display: block;
        margin-bottom: 2px;
    }

    .owner-visibility-notice .form-btn {
        white-space: nowrap;
        background-color: #6366f1;
        padding: 8px 16px;
        font-size: 0.85em;
        text-decoration: none;
    }

     @media (max-width: 768px) {
        .owner-visibility-notice {
            flex-direction: column;
            align-items: flex-start;
            gap: 15px;
        }

        .notice-content {
            align-items: flex-start;
        }

        .notice-content i {
            margin-top: 3px; 
        }

        .owner-visibility-notice .form-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
        box-sizing: border-box;  
        white-space: normal;    
    }
    }

    @media (max-width: 500px) {
    .mobile-block-terms {
        display: block; /* Ililipat sa bagong linya */
        margin-top: 2px; /* Konting space sa pagitan */
    }
}