:root {
    --primary-color: #0078d4;
    --bg-color: #f3f2f1;
    --text-color: #323130;
    --white: #ffffff;
    --border-radius: 6px;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scrollbar-width: none;
}

*::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

.hidden {
    display: none !important;
}

.seo-description {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.5;
    font-size: 15px;
}

.navbar {
    display: flex;
    align-items: center;
    padding: 0.6rem 5%;
    background-color: var(--white);
    box-shadow: var(--shadow);
    height: 60px;
    position: relative;
    z-index: 2000;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: 45px;
}

.header-logo-img {
    height: 70px;
    width: auto;
}

#top-bar-chat-btn {
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
}

#top-bar-chat-btn:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-item {
    cursor: pointer;
    font-weight: 500;
    padding-bottom: 5px;
    transition: color 0.3s;
}

.nav-item:hover, .nav-item.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.nav-dropdown {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-drop-btn {
    cursor: pointer;
    font-weight: 500;
    padding-bottom: 5px;
    transition: color 0.3s;
}

.nav-dropdown:hover .nav-drop-btn {
    color: var(--primary-color);
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 200px;
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
    z-index: 1000;
    top: 100%;
    left: 0;
    padding: 10px 0;
    list-style: none;
}

.nav-dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.2s ease-in-out;
}

.dropdown-content .nav-item {
    display: block;
    padding: 12px 20px;
    border-bottom: none;
    color: var(--text-color);
}

.dropdown-content .nav-item:hover, .dropdown-content .nav-item.active {
    background-color: var(--bg-color);
    color: var(--primary-color);
    border-bottom: none;
}

.lang-switcher select {
    padding: 5px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.view-section {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}

.view-section.active {
    display: block;
}


body.app-mode {
    background-color: #f3f2f1 !important;
}

.dashboard-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 30px;
    background-color: var(--white);
    border-radius: 6px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.05);
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid #c3c6ce;
    min-width: 0;
}

.projects-dynamic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 10px;
    width: 100%;
    max-width: 100%;
}

.project-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    gap: 10px;
}

.project-card-header h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-color);
    flex: 1;
    word-break: break-word;
}

.project-card-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.client-clean-page {
    background-color: #f8f9fa;
    min-height: 100vh;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.client-brand-header {
    background: white;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.client-app-name {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -1px;
}

.client-grid-header {
     display: grid;
     grid-template-columns: 60px 120px 2fr 120px 100px 80px 60px;
     gap: 20px;
     padding: 15px 25px;
     background: #eee;
     font-weight: 700;
     border-radius: 8px 8px 0 0;
     margin: 0 5%;
}

.client-footer-summary {
    position: sticky;
    bottom: 0;
    background: white;
    padding: 20px 5%;
    box-shadow: 0 -10px 25px rgba(0,0,0,0.1);
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    margin-top: 0;
    border-top: 2px solid var(--primary-color);
    z-index: 1000;
}

.client-product-row {
    display: grid;
    grid-template-columns: 60px 120px 2fr 120px 100px 80px 60px;
    gap: 20px;
    padding: 20px 25px;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
}

.client-product-row:hover {
    background: #fafafa;
}

.client-product-row img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #eee;
}

.qty-badge {
    background: #eff6ff;
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    text-align: center;
}

.col-price {
    font-weight: 700;
    color: #333;
    text-align: right;
}

.client-footer-summary {
    position: sticky;
    bottom: 0;
    background: white;
    padding: 20px 5%;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.05);
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
}

#client-total-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
}

@media (max-width: 1024px) {
    .client-grid-header, .client-product-row {
        grid-template-columns: 1fr 1fr;
        display: flex;
        flex-wrap: wrap;
    }
}

.product-detail-info {
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
}

.product-extra-data {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #eee;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    font-size: 0.85rem;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.home-hero, .app-hero {
    text-align: center;
    padding: 120px 5%;
    background: linear-gradient(135deg, #FF9966, #5f5a8d);
    color: var(--white);
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.home-hero-side-logo {
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    height: 280px; /* <--- Zmieniaj tę wartość w konsoli DevTools (w px) */
    width: auto;
    max-height: 90%;
    z-index: 10;
}

@media (max-width: 1024px) {
    .home-hero-side-logo {
        display: none; /* Ukrywamy logo na mniejszych ekranach, by nie nachodziło na tekst */
    }
}

.home-hero h1, .app-hero h1 {
    font-size: 2.8rem;
    font-weight: 300;
    line-height: 1.9;
    letter-spacing: 0px;
    margin-bottom: 30px;
    text-shadow: 2px 2px 15px rgba(0,0,0,0.4);
    animation: slideUp 0.8s ease-out;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.home-hero p, .app-hero p {
    color: #392f2f;
    font-size: 1.5rem;
    font-weight: 400;
    text-shadow: 0 2px 8px rgba(0,0,0,0.25);
    line-height: 1.6;
    max-width: 950px;
    margin: 0 auto 40px;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.home-hero h1, .app-hero h1 {
    font-size: 1.6rem;
    margin-bottom: 80px;
}

.home-hero p, .app-hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 1000px;
    margin: 0 auto 85px auto;
}

.app-hero button.icon-btn-download {
    background: none !important;
    background-color: transparent !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    color: var(--white);
    display: inline-flex;
    margin-top: 20px;
}

.app-hero .icon-btn-download svg {
    width: 80px;
    height: 80px;
    transition: transform 0.2s ease;
}

.app-hero .icon-btn-download:hover svg {
    transform: scale(1.1);
    color: var(--primary-color);
}

.hero-branding {
    position: absolute;
    top: 278px;
    left: 20%;
    display: flex;
    align-items: center;
    gap: 25px;
}

.hero-logo {
    height: 200px;
    width: auto;
}

.hero-app-name {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 2px;
}

@media (max-width: 768px) {
    .hero-branding {
        position: static;
        justify-content: center;
        margin-bottom: 20px;
    }
}

.absolute-back-btn {
    position: absolute;
    left: 20px; 
    top: 10px;
    color: var(--primary-color);
    z-index: 10001;
}

#close-dashboard-list-btn {
    left: 20px !important;
    top: 20px !important;
    position: absolute;
    z-index: 10005;
}

.app-hero .icon-btn-download:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

.features-intro {
    text-align: center;
    max-width: 1400px;
    margin: 95px auto 95px;
    padding: 0 5%;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-color);
    animation: slideUp 0.8s ease-out;
}

.home-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 0 5% 150px; 
    flex-wrap: wrap;
}

.feature-box {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    flex: 1;
    min-width: 280px;
    max-width: 450px;
    text-align: center;
    transition: transform 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

#feat-edu::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    background-image: url('assets/edu1.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.38;
    border-radius: 6px;
    z-index: -1;
}

#feat-design::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    background-image: url('assets/design1.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.38;
    border-radius: 6px;
    z-index: -1;
}

#feat-dev::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    background-image: url('assets/inform1.png');
    background-size: cover;
    background-position: center;
    opacity: 0.38;
    border-radius: 6px;
    z-index: -1;
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-img {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
}

svg.feature-img {
    stroke: #1a2cc5;
    stroke-width: 0.7px;
    transition: transform 0.3s ease;
}

.feature-box:hover svg.feature-img {
    transform: scale(1.1);
}

svg.feature-img g path {
    stroke-width: 0.9px;
}

.shoplist-desc-container {
    max-width: 1400px;
    margin: 80px auto 20px;
    padding: 0 5%;
    animation: fadeIn 0.6s ease-in-out;
}

.shoplist-desc-container p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    text-align: justify;
}

.shoplist-desc-container ul {
    margin: 30px 0;
    list-style: none;
}

.shoplist-desc-container li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-color);
}

.shoplist-desc-container li::before {
    content: ;
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.shoplist-desc-container .desc-conclusion {
    margin-top: 113px;
    font-weight: 400;
    font-size: 1.6rem;
    text-align: center;
}

.specly-automation-container {
    max-width: 1400px;
    margin: 60px auto 30px;
    padding: 0 5%;
    text-align: center;
    animation: fadeIn 0.6s ease-in-out;
}

.specly-automation-container h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    font-weight: 300;
    margin-bottom: 40px;
}

.features-explore-section {
    max-width: 900px;
    margin: 60px auto 80px;
    padding: 0 5%;
    text-align: center;
}

.features-explore-intro {
    margin-bottom: 40px;
}

.features-explore-intro svg {
    color: var(--primary-color);
    margin-bottom: 15px;
    animation: pulse-sparkle 2.5s infinite ease-in-out;
}

@keyframes pulse-sparkle {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.15); opacity: 1; filter: drop-shadow(0 0 8px rgba(0, 120, 212, 0.4)); }
}

.features-explore-intro h2 {
    font-size: 2.2rem;
    color: var(--text-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.features-explore-intro p {
    font-size: 1.15rem;
    color: #605e5c;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

.main-features-accordion {
    background: var(--white);
    border-radius: 6px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.main-features-summary {
    list-style: none;
    padding: 24px 30px;
    background: linear-gradient(135deg, var(--primary-color), #005a9e);
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.main-features-summary::-webkit-details-marker {
    display: none;
}

.main-features-summary:hover {
    background: linear-gradient(135deg, #005a9e, #004578);
}

.main-features-summary .chevron-icon {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.main-features-accordion[open] .main-features-summary .chevron-icon {
    transform: rotate(180deg);
}

.main-features-accordion[open] .automation-steps-wrapper {
    padding: 40px;
    border-top: 1px solid #e1dfdd;
}

.automation-steps-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
    text-align: left;
    max-width: 900px;
    margin: 0 auto;
    counter-reset: step-counter;
    padding: 0;
}

@media (max-width: 768px) {
    .features-explore-intro h2 {
        font-size: 1.8rem;
    }
    .main-features-summary {
        font-size: 1.1rem;
        padding: 20px;
    }
    .main-features-accordion[open] .automation-steps-wrapper {
        padding: 30px 20px;
    }
}

.automation-step {
    background: transparent;
    padding: 20px 0;
    border-radius: 0;
    box-shadow: none;
    border-left: none;
    border-bottom: 1px solid #e1dfdd;
}

.automation-step:last-child {
    border-bottom: none;
}

.automation-step summary {
    list-style: none;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.automation-step summary::-webkit-details-marker {
    display: none;
}

.automation-step summary::after {
    content: '';
    position: absolute;
    right: 10px;
    top: 50%;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    transform: translateY(-50%) rotate(45deg);
    transition: transform 0.3s ease;
}

.automation-step[open] summary::after {
    transform: translateY(-50%) rotate(-135deg);
}

.automation-step h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 0;
    font-weight: 600;
    display: inline-block;
    counter-increment: step-counter;
}

.automation-step h3::before {
    content: counter(step-counter) ". ";
}

.step-content {
    padding-top: 20px;
}

.automation-step p {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.8;
    text-align: left;
}

.automation-step p + p {
    margin-top: 15px;
}

.automation-list {
    margin-top: 15px;
    padding-left: 20px;
    list-style: none;
}

.automation-list li {
    position: relative;
    margin-bottom: 12px;
    font-size: 1.1rem;
    color: #444;
    line-height: 1.6;
    text-align: left;
}

.automation-list li::before {
    content: '✦';
    position: absolute;
    left: -20px;
    color: var(--primary-color);
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    padding: 80px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.module-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: translateY 0.3s;
    /* Nowe linie: usuwają podkreślenie i ustawiają kolor tekstu */
    text-decoration: none;
    color: var(--text-color);
    display: block; /* Zapewnia poprawne zachowanie jako blok */
}

.module-card:hover {
    transform: translateY(-5px);
}

.module-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.module-icon svg {
    width: 40px;
    height: 40px;
    stroke-width: 0.5px !important;
}

.module-card:hover .module-icon {
    transform: scale(1.15);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Indywidualna kolorystyka modułów */
#icon-module-1 { background-color: rgba(0, 120, 212, 0.1); }
#icon-module-1 svg { stroke: #0078d4; }

#icon-module-2 { background-color: rgba(40, 167, 69, 0.1); }
#icon-module-2 svg { stroke: #28a745; }

#icon-module-3 { background-color: rgba(255, 153, 0, 0.1); }
#icon-module-3 svg { stroke: #ff9900; }

#icon-module-4 { background-color: rgba(232, 17, 35, 0.1); }
#icon-module-4 svg { stroke: #e81123; }

#icon-module-5 { background-color: rgba(107, 63, 179, 0.1); }
#icon-module-5 svg { stroke: #6b3fb3; }

#icon-module-6 { background-color: rgba(255, 185, 0, 0.1); }
#icon-module-6 svg { stroke: #ffb900; }

#icon-module-7 { background-color: rgba(0, 183, 195, 0.1); }
#icon-module-7 svg { stroke: #00b7c3; }

#icon-module-8 { background-color: rgba(209, 52, 56, 0.1); }
#icon-module-8 svg { stroke: #d13438; }

.module-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.contact-section {
    padding: 80px 5%;
    background-color: var(--white);
    text-align: center;
}

.contact-wrapper {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 60px;
}

.contact-intro {
    margin-bottom: 20px;
    color: var(--text-color);
}

#contact-form {
    max-width: 600px;
    width: 100%;
    margin: 20px auto 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-info {
    text-align: center;
    margin-top: 40px;
    padding-bottom: 60px;
    line-height: 2;
    font-weight: 500;
}

#contact-form input, #contact-form textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: var(--border-radius);
    font-size: 1rem;
}

#contact-form textarea {
    height: 150px;
    resize: vertical;
}

#contact-form button {
    padding: 15px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: bold;
}

#auth-form {
    max-width: 450px;
    width: 100%;
    background: var(--white);
    padding: 40px;
    border-radius: 6px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.auth-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

#auth-form input {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid #e1dfdd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
}

#auth-email {
    padding-left: 45px !important;
}

#auth-code {
    padding-right: 45px !important;
    padding-left: 15px !important;
    font-size: 3.2rem;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 5px;
    background: linear-gradient(90deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #8b00ff, #ff00ff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #ff0000;
    animation: rainbowPassword 1.5s linear infinite;
    font-family: 'Verdana', sans-serif;
    text-align: left;
}	

#auth-code[type="text"] {
    -webkit-text-fill-color: var(--text-color) !important;
    background: none !important;
    animation: none !important;
    font-size: 1rem;
    letter-spacing: normal;
    font-weight: 500;
    text-align: left;
    font-family: inherit;
}

#auth-code::placeholder {
    font-size: 1rem;
    letter-spacing: normal;
    -webkit-text-fill-color: #999;
}

@keyframes rainbowPassword {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 200%; }
}

.input-icon-left {
    position: absolute;
    left: 15px;
    color: var(--primary-color);
    display: flex;
    z-index: 5;
}

.input-icon-right {
    position: absolute;
    right: 15px;
    color: #605e5c;
    cursor: pointer;
    display: flex;
    z-index: 5;
}

.auth-tooltip {
    position: absolute;
    bottom: 115%;
    left: 50%;
    transform: translateX(-50%);
    background: #1e293b;
    color: #fff;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 0.85rem;
    width: 240px;
    text-align: center;    
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 100;
}

.auth-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: #1e293b;
}

.tooltip-container:hover .auth-tooltip {
    opacity: 1;
    visibility: visible;
    bottom: 125%;
}

#auth-form input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 120, 212, 0.1);
}

#auth-form button {
    padding: 16px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
}

#auth-form button:hover {
    background-color: #005a9e;
}

#auth-form button:active {
    transform: scale(0.98);
}

body.app-mode {
    background-color: #f3f2f1 !important;
    overflow: hidden;
}

.dashboard-app-container {
    display: flex;
    height: 100vh;
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    padding: 20px;
    gap: 20px;
    background: linear-gradient( to top, #e75b5b30 0%, #e75b5b1f 5%, #f5f0eb 40%, #360e7417 95%, #600be3a6 115% ) !important;
}


body.dark-theme .dashboard-app-container {
    background: linear-gradient(to top, #0a192f, #202020) !important;
}

.dashboard-sidebar {
    width: 280px;
    background-color: var(--white);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    padding: 20px 0;
    border-radius: 6px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.05);
    border: 1px solid #c3c6ce;
}

.user-info-brief {
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid #e1dfdd;
    margin-bottom: 20px;
}

.user-profile-frame {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 3px solid var(--white);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    position: relative;
    z-index: 50;
    pointer-events: auto !important;
}

#side-profile-img {
    width: 100%;
    height: 254px;
    object-fit: cover;
    pointer-events: auto !important;
}

.user-info-brief svg {
    color: var(--primary-color);
    width: 160px !important;
    height: 160px !important;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 50%;
    pointer-events: auto !important;
}

.user-info-brief span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
}

body.dark-theme .user-info-brief span {
    color: #ffffff !important;
}

.user-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-color);
}

.dash-nav-item {
    padding: 15px 25px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 300;
    color: #605e5c;
    display: flex;
    align-items: center;
    gap: 12px;
}

.dash-nav-item:hover, .dash-nav-item.active {
    background-color: #f3f2f1;
    color: var(--primary-color);
    border-left: 2px solid var(--primary-color);
}

.dash-nav-item svg {
    width: 30px;
    height: 30px;
    stroke-width: 0.8px;
    flex-shrink: 0;
}

.dashboard-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px 40px;
    background-color: var(--white);
    border-radius: 6px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.05);
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid #c3c6ce;
}

.calendar-module-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

#dash-user-content-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.dash-welcome-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

@keyframes rainbow-colors {
    0% { color: #ff0000; }     /* Czerwony */
    20% { color: #800080; }    /* Fioletowy */
    40% { color: #4169e1; }    /* Królewski błękit */
    60% { color: #008000; }    /* Zielony */
    80% { color: #ffd700; }    /* Żółty */
    90% { color: #ffa500; }    /* Pomarańczowy */
    100% { color: #ff0000; }   /* Powrót do czerwonego */
}

.dash-welcome-hero svg {
    margin-bottom: 20px;
    opacity: 1;
    animation: rainbow-colors 1.5s linear infinite;
    color: #ff0000;
}

.dash-welcome-hero h2 {
    font-weight: 300;
    letter-spacing: 0.5px;
    color: #323130;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(2px);
}

.modal-content {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-content h3 {
    margin-bottom: 25px;
    color: var(--primary-color);
    font-size: 1.4rem;
    text-align: center;
}

.profile-upload-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

#profile-preview-container {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #f3f2f1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px dashed #ccc;
}

#user-photo-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.upload-btn-label {
    font-size: 0.9rem;
    color: var(--primary-color);
    cursor: pointer;
    font-weight: 600;
}

.upload-btn-label:hover {
    text-decoration: underline;
}

.modal-body .input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 25px;
}

.modal-body input[type="text"] {
    padding: 12px;
    border: 1px solid #e1dfdd;
    border-radius: 6px;
    font-size: 1rem;
    width: 100%;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.btn-secondary {
    background: #f3f2f1;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
}

.sidebar-footer {
    margin-top: auto;
    border-top: 1px solid #e1dfdd;
    padding: 12px 25px;
}

.footer-actions-row {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 18px;
}

.footer-action-item {
    cursor: pointer;
    color: #605e5c;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.footer-action-item:hover {
    color: var(--primary-color);
}

.footer-action-item svg {
    width: 30px;
    height: 30px;
    stroke-width: 1.1px;
}

.logout-trigger {
    margin-left: auto;
    color: #d13438 !important;
    gap: 10px;
}

.logout-trigger span {
    font-size: 0.9rem;
    font-weight: 500;
}

.app-version {
    padding: 5px 25px;
    font-size: 0.75rem;
    color: #a19f9d;
    font-weight: 500;
}

.logout-alt {
    color: #d13438 !important;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logout-alt:hover {
    background-color: #fde7e9 !important;
}

.dash-top-bar {
    background: transparent;
    height: 50px;
    margin-bottom: 2px;
    border-bottom: 1px solid #e1dfdd;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 0 32px 0;
}

.top-bar-icons {
    display: flex;
    gap: 15px;
}

.t-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #605e5c;
    transition: color 0.2s;
}

.t-icon:hover {
    color: var(--primary-color);
}

.t-icon svg {
    width: 30px !important;
    height: 30px !important;
    stroke-width: 0.8 !important;
}

.dash-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}	

footer {
    background-color: var(--text-color); /* Ciemny kolor z palety */
    color: #e0e0e0; /* Lekko złamana biel dla lepszej czytelności */
    font-size: 0.95rem;
    padding-top: 60px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5% 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color); /* Niebieski akcent */
}

.footer-col p {
    line-height: 1.6;
    color: #bbb;
}

.footer-contact-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.contact-label {
    font-size: 0.75rem;
    color: #bbb;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
}

.footer-contact-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 20px;
}

.contact-value {
    color: #bbb;
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.5;
}

.footer-link-btn {
    background: none;
    border: none;
    color: #bbb;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s;
}

.footer-link-btn:hover {
    color: var(--white);
    border-bottom-color: var(--white);
}

.footer-link-static {
    color: #bbb;
    font-size: 0.9rem;
}

.privacy-note {
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 6px;
    border-left: 3px solid var(--primary-color);
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    font-size: 0.9rem;
    border-bottom: 1px solid transparent;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: var(--white);
    border-bottom-color: var(--white);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    text-align: center;
    padding: 20px;
    font-size: 0.85rem;
    color: #888;
    margin-top: 20px;
    width: 100%;
}

#view-module-detail.web-bg {
    background-color: var(--white);
    padding: 40px 5%;
    min-height: 80vh;
}

.edu-details {
    padding: 60px 5%;
    background-color: var(--white);
    min-height: 50vh;
}

.edu-info-row {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 60px;
}

.edu-icon-col {
    flex-shrink: 0;
    color: var(--primary-color);
}

.edu-icon-col svg {
    width: 100px;
    height: 100px;
    stroke-width: 0.5px;
}

@media (max-width: 768px) {
    .edu-info-row {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}

.detail-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    padding-top: 40px;
}

.back-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    transition: color 0.2s;
}

.back-btn:hover {
    color: #005a9e;
}

/* Top: Opis + Główne zdjęcie */
.detail-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 60px;
}

.detail-container {
    flex: 1;
    background: transparent;
    padding: 0;
    box-shadow: none;
    border: none;
    transition: none;
    transform: none;
}

.detail-container.clickable-container:hover {
    transform: none;
    box-shadow: none;
}

#detail-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    line-height: 1.2;
}

#detail-desc {
    font-size: 1.05rem;
    color: #333;
    line-height: 1.8;
    text-align: left;
}

.detail-screenshot {
    flex: 1.5;
    width: 100%;
    max-width: 750px;
    height: auto;
    margin-top: 0;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid #eee;
    transition: transform 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
}

.detail-screenshot:hover {
    transform: scale(1.2) translateY(50px) translateX(-50px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    z-index: 100;
}

/* Responsywność Topu */
@media (max-width: 1000px) {
    .detail-row {
        flex-direction: column;
        gap: 40px;
    }
    .detail-container { width: 100%; }
    .detail-screenshot { flex: auto; width: 100%; }
}

/* Środek: Bloki tekstowe */
#extra-content-container {
    margin-top: 60px;
    width: 100%;
    animation: fadeIn 0.6s ease-in-out;
}

.extra-text-block {
    margin-bottom: 40px;
}

.extra-text-block h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    display: inline-block;
}

.extra-text-block p {
    font-size: 1.05rem;
    color: #444;
    line-height: 1.8;
    text-align: justify;
}

/* --- Dół: Galeria (POPRAWIONA) --- */
.gallery-row {
    display: flex;
    flex-wrap: wrap; /* KLUCZOWE: Pozwala spadać elementom niżej */
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid #eee;
    width: 100%;
}

/* Zdjęcie 1 (Szerokie) */
.gallery-img-std {
    flex: 1 1 300px; /* Może się kurczyć, min 300px */
    width: 100%;
    max-width: 600px; /* Nie szersze niż 600px */
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid #eee;
}

/* Zdjęcie 2 (Wąskie i Wysokie) */
.gallery-img-tall {
    flex: 0 0 auto;
    width: auto;
    max-height: 500px;
    max-width: 300px; /* BEZPIECZNIK: Sztywny limit szerokości */
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid #eee;
    object-fit: contain;
}

/* Tekst galerii */
.gallery-text-col {
    flex: 1 1 300px; /* Może się kurczyć, min 300px */
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.gallery-text-item h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    border-bottom: 2px solid #eee;
    padding-bottom: 5px;
    display: inline-block;
}

.gallery-text-item p {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.6;
    text-align: justify;
}

/* Responsywność Galerii */
@media (max-width: 1200px) {
    .gallery-row {
        justify-content: center; /* Wyśrodkuj jak spadną */
    }
    .gallery-img-std {
        max-width: 100%; /* Na małym ekranie na całą szerokość */
        margin-bottom: 20px;
    }
    .gallery-img-tall {
        margin-bottom: 20px;
    }
}

#lists-layout, .browser-split-layout {
    display: flex;
    gap: 60px;
    margin-top: 60px;
    align-items: flex-start;
}

.browser-col-left {
    flex: 1;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.browser-stack-img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid #eee;
    /* Dodajemy dla animacji: */
    position: relative;
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out, z-index 0s linear 0.1s;
}

.browser-stack-img:hover {
    transform: scale(2) translateX(100px);
    z-index: 10;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out, z-index 0s linear 0s;
}

.browser-col-right {
    flex: 1.5;
}

@media (max-width: 1000px) {
    .browser-split-layout {
        flex-direction: column;
    }
    .browser-col-left {
        max-width: 100%;
    }
}

.social-section {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.social-card {
    background: var(--white);
    border-radius: 6px;
    padding: 15px 25px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.04);
    max-width: 450px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.social-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(24, 119, 242, 0.15);
    border-color: rgba(24, 119, 242, 0.2);
}

.social-icon-bg {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    background-color: #eff6ff;
    color: #1877F2;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color 0.3s;
}

.social-card:hover .social-icon-bg {
    background-color: #1877F2;
    color: #fff;
}

.social-info {
    flex-grow: 1;
}

.social-info h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-color);
}

.social-info p {
    margin: 4px 0 0 0;
    font-size: 13px;
    color: #64748b;
}

.social-arrow {
    color: #cbd5e1;
    transition: transform 0.3s, color 0.3s;
}

.social-card:hover .social-arrow {
    color: #1877F2;
    transform: translateX(5px);
}

.social-brand {
    font-weight: 600;
    color: #1877F2 !important; /* Kolor Facebooka dla nazwy firmy */
    font-size: 15px !important;
    margin: 2px 0 0 0 !important;
}

/* Wyłączenie animacji dla statycznego widgetu FB */
.social-card.static-card:hover {
    transform: none;
    box-shadow: var(--shadow); /* Zostawiamy zwykły cień, nie powiększony */
    border-color: rgba(0,0,0,0.04);
}

.social-card.static-card:hover .social-icon-bg {
    background-color: #eff6ff; /* Tło pozostaje jasne */
    color: #1877F2; /* Ikona pozostaje niebieska */
}

.privacy-content-container {
    max-width: 1250px;
    margin: 40px auto;
    padding: 40px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

#privacy-text-area {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
    text-align: justify;
}

#privacy-text-area strong {
    color: var(--primary-color);
    font-size: 1.1rem;
    /* Usuwamy display: block, aby strong mógł być częścią linii */
}

/* Precyzyjne sterowanie odstępem po tytułach sekcji (jeśli kończą się br) */
#privacy-text-area strong + br {
    display: block;
    content: "";
    margin-top: 8px; /* Odstęp od pogrubionego tytułu do tekstu pod nim */
}

#privacy-text-area br {
    content: "";
    display: block;
    margin-top: 10px;
}

.user-auth-container {
    display: flex;
    align-items: center;
    margin-left: auto;
    margin-right: 5px;
}

.auth-group {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.auth-group svg {
    color: var(--primary-color);
    width: 38px;
    height: 38px;
    stroke-width: 1.1;
}

.lang-modal-trigger {
    cursor: pointer;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    transition: transform 0.2s, color 0.2s;
}

.lang-modal-trigger svg {
    width: 38px;
    height: 38px;
    stroke-width: 1.1;
}

.auth-group .nav-item {
    margin: 0;
    padding: 0;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .privacy-content-container {
        margin: 20px;
        padding: 20px;
    }
}

#comment-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.comment-modal-content {
    background: var(--white);
    width: 90%;
    max-width: 600px;
    padding: 30px;
    border-radius: 6px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.comment-modal-title {
    font-size: 1.8rem;
    font-weight: 300; 
    color: #333;
    margin-top: 0;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

#comment-textarea {
    width: 100%;
    min-height: 150px;
    max-height: 400px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    resize: none;
    overflow-y: hidden;
    line-height: 1.5;
    margin-bottom: 20px;
}

.comment-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

@keyframes comment-pop-in {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.comment-modal-content {
    background: var(--white);
    width: 90%;
    max-width: 800px;
    padding: 40px;
    border-radius: 6px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: comment-pop-in 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#comment-textarea {
    width: 100%;
    min-height: 200px;
    padding: 20px;
    border: 2px solid #e1dfdd;
    border-radius: 6px;
    font-size: 1.1rem;
    font-family: inherit;
    resize: none;
    line-height: 1.6;
    color: #333;
    transition: border-color 0.2s;
}

#comment-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.client-app-name {
    font-size: 2.2rem;
    font-weight: 300;
    color: #333;
    letter-spacing: -0.5px;
    font-family: 'Segoe UI', sans-serif;
}

.client-brand-disclaimer {
    font-size: 0.75rem;
    color: #aaa;
    font-style: italic;
    margin-top: 5px;
    display: block;
}

.client-grid-header {
    display: grid;
    grid-template-columns: 50px 100px 1fr 120px 100px 100px;
    gap: 20px;
    padding: 15px 25px;
    background: #eee;
    font-weight: 700;
    border-radius: 8px 8px 0 0;
    margin: 0;
    align-items: center;
}

.client-grid-header div:nth-child(4) { text-align: right; }
.client-grid-header div:nth-child(5) { text-align: center; }
.client-grid-header div:nth-child(6) { text-align: center; }

.client-product-row {
    display: grid;
    grid-template-columns: 50px 100px 1fr 120px 100px 100px;
    gap: 20px;
    padding: 20px 25px;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
}

.col-price { 
    text-align: right; font-weight: 700; 
}

.col-qty { 
    text-align: center;
    margin-top: 0;
}
.col-check { 
    text-align: center; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin-top: 0;
}

.client-product-row.checked {
    opacity: 0.5;
}

.strikethrough {
    text-decoration: line-through;
    color: #888;
}

.client-prod-grid-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 6px;
    display: block;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    transform-origin: left center;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease;
}

.client-prod-grid-img:hover {
    transform: scale(2.2) translateX(15px);
    z-index: 100;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.client-product-row:nth-child(1) .client-prod-grid-img,
.client-product-row:nth-child(2) .client-prod-grid-img {
    transform-origin: left top;
}

.client-product-row:nth-last-child(1) .client-prod-grid-img,
.client-product-row:nth-last-child(2) .client-prod-grid-img {
    transform-origin: left bottom;
}

.client-row-interactive-icons {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
    margin-left: 0;
    align-self: center;
}

.prod-external-link, .item-remove-icon, .msg-icon-trigger, .info-icon-trigger, .heart-icon-trigger, .like-icon-trigger, .dislike-icon-trigger {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, color 0.2s;
}

.info-icon-trigger { color: #0078d4; }
.msg-icon-trigger { color: #28a745; }
.like-icon-trigger { color: #ff9900; }
.dislike-icon-trigger { color: #6b3fb3; }
.heart-icon-trigger { color: #e81123; }
.shop-icon-trigger { color: #f39c12; }
.prod-external-link { color: #00b7c3; }
.item-remove-icon { color: #605e5c; }

.like-icon-trigger.active {
    color: #ff9900;
    filter: drop-shadow(0 0 8px #ff9900);
    transform: scale(1.1);
}

.dislike-icon-trigger.active {
    color: #6b3fb3;
    filter: drop-shadow(0 0 8px #6b3fb3);
    transform: scale(1.1);
}

.heart-icon-trigger.active {
    color: #e81123;
    filter: drop-shadow(0 0 8px #e81123);
    transform: scale(1.1);
}

.prod-external-link:hover, .msg-icon-trigger:hover, .info-icon-trigger:hover, .heart-icon-trigger:hover, .like-icon-trigger:hover, .dislike-icon-trigger:hover, .item-remove-icon:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

.item-remove-icon:hover {
    color: #d13438;
}

.col-sku-brand-info {
    font-size: 0.75rem;
    color: #888;
    margin-top: 2px;
}

.title-wrap h3 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-color);
}

.col-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    text-align: left;
}

.title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.msg-icon-trigger {
    cursor: pointer;
    flex-shrink: 0;
}

.sku-text {
    font-size: 0.75rem;
    color: #aaa;
}

.desc-text {
    font-size: 0.9rem;
    color: #555;
    margin: 5px 0;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.8rem;
    color: #888;
}

.col-price {
    text-align: right;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    margin-top: 0 !important;
    }

    body.client-view-active .home-display {
        display: none !important;
    }

.price-main {
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.0;
}

.price-sub {
    font-size: 0.72rem;
    color: #888;
    font-weight: 400;
    margin-top: 2px;
}

.qty-badge {
    background: #f0f0f0;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
}

.client-footer-summary {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid var(--primary-color);
    display: flex;
    justify-content: flex-end;
}

#client-total-price {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.text-left { text-align: left; }
.text-right { text-align: right; }

@media (max-width: 1024px) {
    .client-grid-header, .client-product-row {
        grid-template-columns: 40px 1fr 100px 70px 50px;
    }
    .hide-mobile {
        display: none !important;
    }
}

@media (max-width: 600px) {
    .client-product-row {
        grid-template-columns: 1fr 80px 50px;
        grid-template-areas: 
            "info info check"
            "price qty check";
        gap: 10px;
        padding: 15px 0;
    }
    .col-lp { display: none; }
    .col-info { grid-area: info; }
    .col-price { grid-area: price; text-align: left; padding: 0; }
    .col-qty { grid-area: qty; text-align: right; }
    .col-check { grid-area: check; display: flex; align-items: center; justify-content: center; }
}

.dash-lists-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 10px 0;
}

:root {
    --tile-beige-1: #dae8fc;
    --tile-beige-2: #d5e8d4;
    --tile-beige-3: #ffe6cc;
    --tile-beige-4: #e1d5e7;
    --tile-beige-5: #f8cecc;
    --tile-text-primary: #323130;
    --tile-sidebar-shade: rgba(0, 0, 0, 0.06);
    --tile-icon-fill: #201f1e;
	--tile-icon-stroke: 0.8px;
}

body.dark-theme {
    --tile-beige-1: #dae8fc;
    --tile-beige-2: #d5e8d4;
    --tile-beige-3: #ffe6cc;
    --tile-beige-4: #e1d5e7;
    --tile-beige-5: #f8cecc;
    --tile-text-primary: #323130;
    --tile-sidebar-shade: rgba(0, 0, 0, 0.06);
    --tile-icon-fill: #201f1e;
}

.dash-list-row {
    border-radius: 6px;
    width: 240px;
    height: 150px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s;
    display: flex;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: relative;
    color: var(--tile-text-primary);
}

.dash-list-row:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.dash-list-row.color-variant-1 { background-color: var(--tile-beige-1); }
.dash-list-row.color-variant-2 { background-color: var(--tile-beige-2); }
.dash-list-row.color-variant-3 { background-color: var(--tile-beige-3); }
.dash-list-row.color-variant-4 { background-color: var(--tile-beige-4); }
.dash-list-row.color-variant-5 { background-color: var(--tile-beige-5); }

.tile-left-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-width: 0;
}

.tile-project-tag {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 1;
    margin-bottom: 4px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    color: var(--tile-text-primary);
}

.tile-main-title {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.1;
    opacity: 0.8;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--tile-text-primary);
}

.tile-right-sidebar {
    width: 50px;
    background: var(--tile-sidebar-shade);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    padding: 10px 0;
    backdrop-filter: blur(4px);
    flex-shrink: 0;
}

.tile-icon-btn {
    background: none;
    border: none;
    color: var(--tile-icon-fill);
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: background 0.2s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tile-icon-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1) translateX(0);
}

.tile-icon-btn svg {
    width: 26px;
    height: 26px;
    stroke-width: var(--tile-icon-stroke);
}

.tile-right-sidebar .tile-icon-btn {
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dash-list-row:hover .tile-right-sidebar .tile-icon-btn {
    opacity: 1;
    transform: translateX(0);
}

.dash-group-section {
    margin-bottom: 40px;
}

.dash-group-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
    font-weight: 600;
}

.dash-list-info h4 {
    margin: 0;
    color: var(--primary-color);
    font-weight: 600;
}

.dash-list-actions {
    display: flex;
    gap: 10px;
}

.copy-link-btn {
    background: #f3f2f1;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.copy-link-btn:hover { background: #e1dfdd; }

/* Naprawa warstw dla kafelka przy hoverze */
.dash-list-row:hover {
    z-index: 999;
    overflow: visible !important;
}

[data-custom-title] {
    position: relative;
}

[data-custom-title]:hover::after {
    display: none;
}

[data-custom-title]:hover::before {
    display: none;
}

.dash-list-row, .navbar, .logo-container, .nav-item, .lang-btn, .theme-toggle, .tile-icon-btn {
    isolation: isolate;
}

.dash-list-row:hover {
    z-index: 100;
    overflow: visible !important;
}

@keyframes tooltipFadeIn {
    from { opacity: 0; transform: translateX(-50%) translateY(5px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.notification-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #ff0000;
    color: #ffffff;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    border: 2px solid #ffffff;
    z-index: 999;
    box-shadow: 0 2px 6px rgba(0,0,0,0.4);
    animation: badgeBlink 1s infinite alternate;
}

@keyframes badgeBlink {
    0% { background-color: #ff0000; transform: scale(1); }
    33% { background-color: #ff4500; }
    66% { background-color: #ff0055; }
    100% { background-color: #ff0000; transform: scale(1.15); }
}

.projects-dynamic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 10px;
}

.project-list-card {
    background: var(--white);
    border: 1px solid #b8b4b1;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.project-list-card {
    background: var(--white);
    border: 1px solid #e1dfdd;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: all 0.5s cubic-bezier(0.2, 1, 0.22, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    perspective: 1000px;
}

.project-list-card:hover {
    transform: perspective(1000px) rotateX(2deg) translateY(-12px);
    border-color: rgba(0, 120, 212, 0.3);
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 120, 212, 0.04);
    background-image: 
        radial-gradient(circle at top right, rgba(0, 120, 212, 0.08), transparent 70%),
        linear-gradient(rgba(0, 120, 212, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 120, 212, 0.03) 1px, transparent 1px);
    background-size: 100% 100%, 20px 20px, 20px 20px;
}

.project-card-dates::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(0, 120, 212, 0.2), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.project-status-badge {
    position: absolute;
    top: 24px;
    right: -100px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: right 0.4s ease;
    background: #dff6dd;
    color: #107c10;
    border: 1px solid rgba(16, 124, 16, 0.2);
}

.project-list-card:hover .project-status-badge {
    right: 80px; /* Pojawia się obok ikon akcji przy hoverze */
}

/* Stan dla projektów zakończonych (dodamy klasę w JS później) */
.project-list-card.finished {
    opacity: 0.8;
}

.project-list-card.finished .project-status-badge {
    background: #f3f2f1;
    color: #605e5c;
    border-color: #e1dfdd;
}

.project-card-actions button {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: scale(0.9);
}

.project-list-card:hover .project-card-actions button {
    transform: scale(1);
}

.project-list-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--primary-color);
    transform: scaleY(0);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-radius: 12px 0 0 12px;
    z-index: 2;
}

.project-list-card:hover::before {
    transform: scaleY(1);
}

.project-list-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transform: skewX(-20deg);
    transition: left 0.6s ease;
    z-index: 1;
    pointer-events: none;
}

.project-list-card:hover::after {
    left: 150%;
}

.project-card-header h4 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-color);
    letter-spacing: -0.3px;
    transition: color 0.3s ease;
}

.project-list-card:hover .project-card-header h4 {
    color: var(--primary-color);
}

.project-card-dates {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    background: rgba(243, 242, 241, 0.7);
    backdrop-filter: blur(4px);
    padding: 14px;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.03);
}

.date-value {
    font-weight: 600;
    color: var(--text-color);
}

.date-item {
    display: flex;
    flex-direction: column;
}

.date-label {
    color: #666;
    font-size: 0.75rem;
    margin-bottom: 2px;
}

.full-width {
    width: 100%;
}

.modal-content.wide-modal {
    width: 95vw;
    height: 90vh;
    max-width: none;
    display: flex;
    flex-direction: column;
    padding: 0;
    border-radius: 6px;
    overflow: hidden;
}

.mail-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0 20px 25px; 
    background-color: #fff;
    border-bottom: 1px solid #e1dfdd;
    flex-shrink: 0;
}

.mail-modal-header h3 {
    margin: 0;
    color: #605e5c; 
    font-size: 1.5rem;
    font-weight: 300; 
    opacity: 0.8; 
    letter-spacing: -0.5px;
}

.modal-close-x {
    cursor: pointer;
    color: #605e5c;
    padding: 8px;
    border-radius: 50%;
    transition: background-color 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close-x:hover {
    background-color: #f3f2f1;
    color: #d13438;
}

.dash-mail-layout {
    display: flex;
    flex: 1;
    overflow: hidden;
}

.dash-mail-list {
    width: 320px;
    flex-shrink: 0;
    background-color: #f8f9fa;
    border-right: 1px solid #e1dfdd;
    overflow-y: auto;
}

.dash-mail-content {
    flex-grow: 1;
    padding: 40px;
    background-color: #fff;
    overflow-y: auto;
}

.mail-item {
    padding: 20px 25px;
    border-bottom: 1px solid #e1dfdd;
    cursor: pointer;
    transition: background-color 0.2s;
}

.mail-item:hover {
    background-color: #edebe9;
}

.mail-item.active {
    background-color: #fff;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.mail-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.mail-delete-btn {
    opacity: 0;
    background: none;
    border: none;
    cursor: pointer;
    color: #a19f9d;
    padding: 4px;
    margin-top: -4px;
    margin-right: -4px;
    border-radius: 6px;
    transition: all 0.2s;
}

.mail-item:hover .mail-delete-btn {
    opacity: 1;
}

.mail-delete-btn:hover {
    color: #d13438;
    background-color: #f3f2f1;
}

.mail-item.unread h4 {
    font-weight: 700;
    color: var(--primary-color);
}

.mail-item h4 {
    margin: 0 0 6px 0;
    font-size: 1rem;
    color: #323130;
    font-weight: 400;
}

.mail-item span {
    font-size: 0.8rem;
    color: #605e5c;
}

.mail-detail-header {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e1dfdd;
}

.mail-detail-header h2 {
    margin: 0 0 8px 0;
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 600;
}

.mail-detail-date {
    font-size: 0.9rem;
    color: #605e5c;
    display: block;
}

.mail-detail-body {
    line-height: 1.8;
    color: #323130;
    font-size: 1.1rem;
    max-width: 100%;
    padding-right: 20px;
}

.mail-detail-body ul {
    margin: 25px 0;
    padding-left: 10px;
    list-style: none;
}

.mail-detail-body li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    color: #444;
    line-height: 1.6;
}

.mail-detail-body li::before {
    content: '✦';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
    font-size: 1.2em;
    font-weight: bold;
}

.mail-detail-body strong {
    color: var(--primary-color);
    font-weight: 600;
}

.mail-detail-body p {
    margin-bottom: 18px;
    text-align: justify;
}

#chat-window, #settings-side-panel, #subscription-side-panel,
#client-chat-window, #client-settings-side-panel {
    position: fixed;
    top: 80px;
    right: -550px;
    width: 500px;
    height: calc(100vh - 100px);
    background: var(--white);
    box-shadow: -5px 10px 30px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    z-index: 100001;
    transition: right 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    border-radius: 24px 0 0 24px;
    border: 1px solid #e1dfdd;
}

#chat-window.active, #settings-side-panel.active, #subscription-side-panel.active,
#client-chat-window.active, #client-settings-side-panel.active {
    right: 0;
}

.sub-minimal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #e1dfdd;
}

.status-pill {
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.status-pill.active {
    background-color: #dff6dd;
    color: #107c10;
}

.sub-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.sub-stat-box {
    background-color: #f3f2f1;
    padding: 20px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sub-days-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

#sub-paid-badge {
    width: 32px;
    height: 32px;
    color: #107c10;
    fill: rgba(16, 124, 16, 0.1);
    stroke-width: 1.5;
    animation: ratePop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.stat-number {
    font-size: 2rem;
    font-weight: 400;
    color: var(--primary-color);
}

.stat-date {
    font-size: 1.2rem;
    font-weight: 400;
    color: #323130;
    padding: 10px 0;
}

.stat-label {
    font-size: 0.7rem;
    color: #605e5c;
    font-weight: 700;
    text-transform: uppercase;
}

.sub-data-table {
    display: flex;
    flex-direction: column;
    border: 1px solid #e1dfdd;
    border-radius: 6px;
    overflow: hidden;
}

.sub-data-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 15px;
    background-color: #fff;
    border-bottom: 1px solid #e1dfdd;
    font-size: 0.9rem;
}

.sub-data-row:last-child {
    border-bottom: none;
}

.sub-data-row span {
    color: #605e5c;
}

.sub-data-row strong {
    color: #323130;
}

.sub-purchase-widgets {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 30px;
    padding-bottom: 20px;
}

.purchase-card {
    background: var(--white);
    border: 2px solid #e1dfdd;
    border-radius: 6px;
    padding: 30px 20px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s;
}

.purchase-card.yearly {
    border-color: var(--primary-color);
    margin-top: 10px;
}

.purchase-card .card-badge {
    position: absolute;
    top: -15px;
    background: var(--primary-color);
    color: white;
    padding: 4px 20px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
}

.purchase-card h4 {
    font-size: 1.4rem;
    color: #323130;
    margin-bottom: 15px;
    font-weight: 400;
}

.purchase-card .desc {
    font-size: 0.9rem;
    color: #605e5c;
    line-height: 1.5;
    margin-bottom: 20px;
    max-width: 280px;
}

.purchase-card .price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #323130;
    margin-bottom: 5px;
}

.purchase-card .savings {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 20px;
}

.admin-pricing-info {
    margin-top: 30px;
    padding: 20px 25px;
    background-color: #faf9f8;
    border-left: 4px solid #dcb14a;
    border-radius: 0 8px 8px 0;
    text-align: left;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.admin-pricing-info h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.admin-pricing-info p {
    font-size: 0.95rem;
    color: #605e5c;
    line-height: 1.6;
}

#sub-content-admin .purchase-card.yearly {
    border-color: #dcb14a;
}

#sub-content-admin .purchase-card .card-badge {
    background: linear-gradient(135deg, #e6c05c, #dcb14a);
    color: #323130;
}

#sub-content-admin .price {
    color: #dcb14a;
}

#sub-content-admin .buy-btn {
    background-color: #dcb14a !important;
    color: #323130 !important;
}

#sub-content-admin .buy-btn:hover {
    background-color: #cfa234 !important;
    transform: translateY(-2px);
}

body.dark-theme .admin-pricing-info {
    background-color: #2c2c2c;
}

body.dark-theme .admin-pricing-info p {
    color: #d1d1d1;
}

.pricing-intro-section {
    text-align: center;
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.pricing-intro-section h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.pricing-intro-section p {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 15px;
    line-height: 1.6;
}

.pricing-intro-section .pricing-highlight {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 25px;
    padding: 15px;
    background-color: rgba(0, 120, 212, 0.05);
    border-radius: var(--border-radius);
}

.sub-purchase-widgets.specly-pricing-grid {
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: 50px;
    padding: 0 5% 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.sub-purchase-widgets.specly-pricing-grid .purchase-card {
    width: 100%;
    max-width: 500px;
    min-height: 520px;
    padding: 50px 30px;
}

.sub-purchase-widgets.specly-pricing-grid .purchase-card.yearly {
    margin-top: 0;
}

.sub-purchase-widgets.specly-pricing-grid .buy-btn {
    margin-top: auto;
}

.pricing-info-trigger {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #a19f9d;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-info-trigger:hover {
    transform: scale(1.15);
    color: var(--primary-color);
}

.pricing-info-trigger[data-custom-title]:hover::after {
    white-space: normal;
    width: 300px;
    text-align: center;
    line-height: 1.5;
    font-weight: 500;
    left: auto;
    right: -10px;
    transform: none;
}

.pricing-info-trigger[data-custom-title]:hover::before {
    left: auto;
    right: 3px;
    transform: none;
}

@media (max-width: 768px) {
    .sub-purchase-widgets.specly-pricing-grid {
        flex-direction: column;
        align-items: center;
    }
    .sub-purchase-widgets.specly-pricing-grid .purchase-card {
        min-height: auto;
        padding: 40px 20px;
    }
}

#buy-monthly-btn, #buy-yearly-btn, #specly-buy-monthly-btn, #specly-buy-yearly-btn, #admin-buy-monthly-btn, #admin-buy-yearly-btn {
        background-color: var(--primary-color) !important;
        color: var(--white) !important;
        border: none;
        padding: 16px 20px;
        border-radius: 6px;
        font-weight: 700;
        font-size: 1.1rem;
        cursor: pointer;
        width: 100%;
        margin-top: auto !important;
        transition: all 0.2s ease;
        box-shadow: 0 4px 8px rgba(0, 120, 212, 0.25);
        text-transform: uppercase;
        letter-spacing: 0.5px;
        display: block;
    }

    .purchase-card {
        transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease !important;
    }

    .purchase-card:hover {
        transform: scale(1.05) !important;
        box-shadow: 0 25px 50px rgba(0, 120, 212, 0.15) !important;
        z-index: 5;
    }

    #buy-monthly-btn:hover, #buy-yearly-btn:hover, #specly-buy-monthly-btn:hover, #specly-buy-yearly-btn:hover, #admin-buy-monthly-btn:hover, #admin-buy-yearly-btn:hover {
        background-color: #005a9e !important;
        transform: translateY(-2px);
        box-shadow: 0 6px 12px rgba(0, 120, 212, 0.3);
    }

    #sub-content-admin #admin-buy-monthly-btn {
        background-color: var(--primary-color) !important;
        color: var(--white) !important;
    }

    #sub-content-admin #admin-buy-monthly-btn:hover {
        background-color: #005a9e !important;
    }

#buy-monthly-btn:active, #buy-yearly-btn:active, #specly-buy-monthly-btn:active, #specly-buy-yearly-btn:active {
    transform: translateY(0);
}

#sub-type-display {
    margin: 0;
    font-size: 1.5rem;
    color: #323130;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.sub-days-counter {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.days-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.days-label {
    font-size: 0.9rem;
    color: #605e5c;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 5px;
}

.sub-info-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.sub-info-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e1dfdd;
    font-size: 0.95rem;
    color: #323130;
}

body.dark-theme #sub-type-display,
body.dark-theme .sub-info-item {
    color: #e0e0e0;
}

body.dark-theme .sub-status-card {
    background-color: #2d2d2d;
}

body.dark-theme .days-label {
    color: #a0a0a0;
}

body.dark-theme .sub-info-item {
    border-bottom-color: #444;
}

.settings-panel-body {
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    overflow-y: auto;
}

.settings-option-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.settings-option-group label {
    font-weight: 600;
    color: #605e5c;
    font-size: 0.9rem;
}

.settings-select {
    padding: 12px 15px;
    border: 1px solid #e1dfdd;
    border-radius: 6px;
    background-color: #f3f2f1;
    font-family: inherit;
    font-size: 1rem;
    cursor: pointer;
    outline: none;
    transition: all 0.2s;
    color: #323130;
}

.settings-select:focus {
    border-color: var(--primary-color);
    background-color: #fff;
}

.settings-toggle-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: #323130;
}

#settings-notif-check {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

body.dark-theme {
    --bg-color: #202020;
    --text-color: #f0f0f0;
    --white: #3b3b3b;
    --border-color: #555555;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

body.dark-theme,
body.dark-theme .dashboard-app-container {
    background-color: var(--bg-color) !important;
    color: var(--text-color);
}

body.dark-theme h1,
body.dark-theme h2,
body.dark-theme h3,
body.dark-theme h4,
body.dark-theme h5,
body.dark-theme h6,
body.dark-theme p,
body.dark-theme span,
body.dark-theme li,
body.dark-theme strong,
body.dark-theme label,
body.dark-theme .nav-item,
body.dark-theme .dash-nav-item {
    color: #ffffff;
}

body.dark-theme .dashboard-sidebar,
body.dark-theme .dashboard-content,
body.dark-theme .chat-sidebar,
body.dark-theme .modal-content,
body.dark-theme .navbar,
body.dark-theme #chat-header,
body.dark-theme #chat-controls,
body.dark-theme .mail-modal-header,
body.dark-theme .dash-mail-content,
body.dark-theme .dash-mail-list,
body.dark-theme .purchase-card,
body.dark-theme .sub-stat-box,
body.dark-theme .sub-data-row,
body.dark-theme .web-bg,
body.dark-theme .detail-wrapper,
body.dark-theme .privacy-content-container,
body.dark-theme .browser-stack-img {
    background-color: var(--white);
    color: #ffffff;
    border-color: var(--border-color);
}

body.dark-theme .dash-top-bar,
body.dark-theme .user-info-brief,
body.dark-theme .sidebar-footer,
body.dark-theme .dash-list-row,
body.dark-theme .mail-item,
body.dark-theme .mail-detail-header,
body.dark-theme .chat-header,
body.dark-theme .sub-minimal-header,
body.dark-theme .sub-info-item,
body.dark-theme .sub-data-row,
body.dark-theme .sub-data-table,
body.dark-theme #chat-window,
body.dark-theme #settings-side-panel,
body.dark-theme #subscription-side-panel {
    border-color: var(--border-color);
}

body.dark-theme .t-icon,
body.dark-theme .t-icon svg,
body.dark-theme .sidebar-footer svg,
body.dark-theme .logout-alt svg,
body.dark-theme .auth-group svg {
    color: #ffffff !important;
    stroke: #ffffff !important;
}

body.dark-theme .settings-select,
body.dark-theme .chat-input-bar,
body.dark-theme .copy-link-btn,
body.dark-theme .btn-secondary {
    background-color: #2c2c2c;
    border-color: var(--border-color);
    color: #ffffff;
}

body.dark-theme #user-input,
body.dark-theme .chat-main-title,
body.dark-theme .settings-option-group label,
body.dark-theme .settings-toggle-wrap,
body.dark-theme .mail-item h4,
body.dark-theme .dash-list-info h4,
body.dark-theme .stat-date,
body.dark-theme #sub-type-display,
body.dark-theme .purchase-card h4,
body.dark-theme .purchase-card .price,
body.dark-theme .sub-data-row strong,
body.dark-theme .mail-detail-body,
body.dark-theme .mail-detail-body p,
body.dark-theme .mail-detail-body li,
body.dark-theme #display-user-email {
    color: #ffffff !important;
}

body.dark-theme .dash-list-row .tile-project-tag,
body.dark-theme .dash-list-row .tile-main-title {
    color: #323130 !important;
}

body.dark-theme .dash-nav-item:hover, 
body.dark-theme .dash-nav-item.active {
    background-color: #2c2c2c;
    color: #ffffff !important;
    border-left-color: var(--primary-color);
}

body.dark-theme .t-icon:hover {
    color: var(--primary-color) !important;
    stroke: var(--primary-color) !important;
}

body.dark-theme #chat-messages {
    background-color: var(--white);
}

body.dark-theme .message.received {
    background-color: #4a4a4a;
    color: #ffffff;
}

body.dark-theme .mail-item:hover {
    background-color: #4a4a4a;
}

body.dark-theme .mail-item.active {
    background-color: #2c2c2c;
    border-left-color: var(--primary-color);
}

body.dark-theme .sub-stat-box {
    background-color: #2c2c2c;
}

body.dark-theme .days-label,
body.dark-theme .stat-label,
body.dark-theme .sub-data-row span,
body.dark-theme .purchase-card .desc,
body.dark-theme .mail-detail-date,
body.dark-theme .mail-item span {
    color: #d1d1d1 !important;
}

body.dark-theme .dash-welcome-hero svg {
    filter: brightness(1.3);
}

body.dark-theme #side-profile-img,
body.dark-theme .detail-screenshot {
    border-color: var(--border-color);
    box-shadow: none;
}

body.dark-theme .modal-close-x {
    color: #ffffff;
}

body.dark-theme .mail-delete-btn {
    color: #ffffff;
}

#chat-header, #client-chat-header {
    background: var(--white);
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e1dfdd;
    flex-shrink: 0;
	border-radius: 6px;
}

.chat-header-branding {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-header-logo {
    height: 90px;
    width: auto;
    display: block;
}

.chat-header-titles {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.3;
}

.chat-main-title {
    font-weight: 600;
    font-size: 1.5rem;
    color: #323130;
}

.chat-sub-title {
    font-size: 0.75rem;
    color: #605e5c;
    font-weight: 400;
}

#chat-close-btn, #client-chat-close-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    color: #323130;
}

#chat-close-btn:hover, #client-chat-close-btn:hover {
    background: #f3f2f1;
    color: #d13438;
}

#chat-messages, #client-chat-messages {
    flex: 1;
    padding: 25px;
    overflow-y: auto;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message {
    max-width: 85%;
    padding: 12px 16px;
    font-size: 0.95rem;
    line-height: 1.5;
    border-radius: 18px;
    word-wrap: break-word;
}

.message.sent {
    align-self: flex-end;
    background: var(--primary-color);
    color: white;
    border-bottom-right-radius: 4px;
}

.message.received {
    align-self: flex-start;
    background: #f3f2f1;
    color: #323130;
    border-bottom-left-radius: 4px;
}

.message-container {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    margin-bottom: 5px;
    width: 100%;
}

.sent-container {
    justify-content: flex-end;
}

.message-feedback {
    display: flex;
    flex-direction: row;
    gap: 5px;
    opacity: 0;
    transition: opacity 0.2s;
    margin-bottom: 15px;
}

.message-container:hover .message-feedback {
    opacity: 1;
}

.feedback-icon {
    cursor: pointer;
    color: #a19f9d;
    display: flex;
    align-items: center;
    padding: 2px;
}

.feedback-icon:hover, .feedback-icon.active {
    color: var(--primary-color);
}

.message-attachment-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    text-decoration: none;
    margin-top: 8px;
    padding: 8px 12px;
    background: rgba(0,0,0,0.05);
    border-radius: 6px;
    transition: all 0.2s;
    color: inherit;
}

.message.sent .message-attachment-link {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

.message-attachment-link:hover {
    background: rgba(0,0,0,0.1);
}

.message.sent .message-attachment-link:hover {
    background: rgba(255,255,255,0.3);
}

#chat-file-previews, #client-chat-file-previews {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 25px;
    background: #fff;
    max-height: 120px;
    overflow-y: auto;
}

.file-preview-item {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 6px;
    background: #f3f2f1;
    border: 1px solid #e1dfdd;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.file-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 7px;
}

.file-preview-item .file-ext-icon {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
}

.remove-file-btn {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #323130;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 10px;
}

#chat-controls, #client-chat-controls {
    padding: 20px 25px;
    background: var(--white);
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 25px;
	border-radius: 6px;
}

.chat-input-bar {
    display: flex;
    align-items: flex-end;
    background: #f3f2f1;
    border: 1px solid transparent;
    border-radius: 6px;
    padding: 6px 6px 6px 16px;
    transition: all 0.2s;
}

.chat-input-bar:focus-within {
    background: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

#user-input, #client-user-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 14px 0;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    resize: none;
    max-height: 250px;
    overflow-y: auto;
    line-height: 1.5;
    color: var(--text-color);
    scrollbar-width: none;
}

#user-input::-webkit-scrollbar, #client-user-input::-webkit-scrollbar {
    display: none;
}

.chat-actions-group {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 8px;
    padding-bottom: 2px;
}

.chat-attach-btn {
    background: none;
    border: none;
    color: #605e5c;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.chat-attach-btn:hover {
    background: rgba(0,0,0,0.05);
    color: var(--primary-color);
}

#btn-send, #client-btn-send {
    background: transparent;
    color: #605e5c;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s, transform 0.2s, background 0.2s;
}

#btn-send:hover {
    background: rgba(0,0,0,0.05);
    color: var(--primary-color);
    transform: scale(1.05);
}

.message-attachments-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
    width: 100%;
}

.chat-image-wrapper {
    max-width: 100%;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(0,0,0,0.05);
}

.chat-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.2s;
}

.chat-image-wrapper:hover img {
    transform: scale(1.02);
}

.message-attachment-file {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s;
    min-width: 0;
}

.message.sent .message-attachment-file {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.message.sent .message-attachment-file:hover {
    background: rgba(255, 255, 255, 0.25);
}

.message.received .message-attachment-file {
    background: #fff;
    border: 1px solid #e1dfdd;
    color: #323130;
}

.message.received .message-attachment-file:hover {
    background: #faf9f8;
}

.message-attachment-file .file-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.message-attachment-file .file-name {
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@keyframes ratePop {
    0% { transform: scale(1); }
    50% { transform: scale(1.4); }
    100% { transform: scale(1); }
}

.chat-fab-btn {
    position: relative !important;
}

.feedback-icon {
    cursor: pointer;
    color: #a19f9d;
    display: flex;
    align-items: center;
    padding: 5px;
    transition: color 0.2s, transform 0.2s;
}

.feedback-icon:hover {
    background-color: rgba(0,0,0,0.05);
    border-radius: 50%;
}

.feedback-icon.thumbs-up.active {
    color: #107c10; /* Zielony */
    animation: ratePop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feedback-icon.thumbs-down.active {
    color: #d13438; /* Czerwony */
    animation: ratePop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-iframe-content {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.minimal-back-btn {
    background: none;
    border: none;
    padding: 8px 0;
    margin-bottom: 15px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    color: #666;
    transition: color 0.2s ease, transform 0.2s ease;
}

.minimal-back-btn:hover {
    color: #000;
    transform: translateX(-3px);
}

.icon-back-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
	top: -16px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, color 0.2s ease;
}

.icon-back-btn:hover {
    transform: scale(1.1);
    color: #005a9e;
}

.lang-modal-trigger:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

.modal-overlay.no-dim {
    background-color: transparent;
    
}

.lang-modal-content {
    position: absolute;
    top: 70px;
    right: 5%;
    width: 280px;
    border-radius: 18px;
    pointer-events: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid #e1dfdd;
}

.lang-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 12px 0;
}

.lang-option {
    padding: 8px 4px;
    background: #f8f9fa;
    border: 1px solid #e1dfdd;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.2s ease;
    text-align: center;
    color: var(--text-color);
}

.lang-option:hover {
    background: var(--white);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

body.dark-theme .lang-option {
    background: #2c2c2c;
    border-color: #555;
    color: #fff;
}

body.dark-theme .lang-option:hover {
    background: #3a3a3a;
    border-color: var(--primary-color);
}

.secondary-btn {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 1.5px solid var(--white);
    padding: 12px 30px;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.secondary-btn:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.contact-header-brand {
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
}

.contact-brand-logo {
    height: 120px;
    width: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.contact-main-subtitle {
    font-size: 1.2rem;
    color: #605e5c;
    line-height: 1.6;
    margin-top: 15px;
}

.contact-grid-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    margin-bottom: 60px;
}

.info-tile {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s ease;
}

.info-tile:hover {
    transform: translateY(-10px);
}

.highlight-tile {
    border: 2px solid var(--primary-color);
    background: linear-gradient(to bottom, #ffffff, #f0f7ff);
}

.tile-icon-circle {
    width: 60px;
    height: 60px;
    background: #f3f2f1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.tile-icon-circle svg {
    width: 30px;
    height: 30px;
}

.tile-action-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    margin-top: auto;
    padding-top: 10px;
}

.primary-action-btn-large {
    background-color: var(--primary-color);
    color: white;
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 120, 212, 0.3);
}

.primary-action-btn-large:hover {
    transform: scale(1.05);
    background-color: #005a9e;
    box-shadow: 0 15px 30px rgba(0, 120, 212, 0.4);
}

.contact-cta-section {
    text-align: center;
    padding: 40px;
    background: rgba(255,255,255,0.5);
    border-radius: 30px;
    width: 100%;
    max-width: 900px;
}

.contact-cta-section p {
    margin-bottom: 25px;
    font-size: 1.1rem;
}

@media (max-width: 1024px) {
    .dashboard-app-container {
        position: relative;
        flex-direction: column;
        width: 100%;
        height: auto;
        min-height: 100dvh;
        overflow-y: visible;
        padding: 0;
    }

    .dashboard-sidebar {
        width: 100%;
        height: auto;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 10px 20px;
        overflow-x: auto;
        flex-shrink: 0;
        border-radius: 0;
        box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    }

    .user-info-brief {
        flex-direction: row;
        padding: 0;
        border-bottom: none;
        margin-bottom: 0;
    }

    .user-info-brief svg {
        width: 40px !important;
        height: 40px !important;
        padding: 5px;
    }

    .dashboard-nav {
        display: none;
    }

    .dashboard-content {
        width: 100%;
        padding: 15px;
        height: auto;
        overflow: visible;
        border-radius: 0;
        box-shadow: none;
    }

    #chat-window, #settings-side-panel, #subscription-side-panel {
        width: 100%;
        right: -100%;
        height: 100dvh;
        top: 0;
        border-radius: 0;
        z-index: 100001;
    }

    #chat-window.active, #settings-side-panel.active, #subscription-side-panel.active {
        right: 0;
    }

    .dash-welcome-hero {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 13px;
    }

    .navbar {
        padding: 0.5rem 1rem;
    }

    .logo-text {
        font-size: 1.1rem;
    }

    .nav-menu {
        display: none;
    }

    .home-hero, .app-hero {
        padding: 60px 20px;
    }

    .home-hero h1, .app-hero h1 {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .home-hero p, .app-hero p {
        font-size: 1.1rem;
        padding: 0 10px;
    }

    .modules-grid, .contact-grid-info, .home-features, .sub-stats-grid, .edu-info-row, .detail-row {
        grid-template-columns: 1fr;
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }

    .feature-box {
        max-width: 100%;
    }

    .message {
        max-width: 95%;
    }

    .top-bar-icons {
        gap: 5px;
    }

    .t-icon {
        width: 36px;
        height: 36px;
    }

    .modal-content.wide-modal {
        width: 100%;
        height: 100dvh;
        border-radius: 0;
    }
}

.story-container {
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 20px;
}

.story-text {
    text-align: justify;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 25px;
    color: var(--text-color);
}

.story-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto 40px auto;
    box-shadow: var(--shadow);
}

.ms-store-badge-container {
    display: flex;
    justify-content: center;
    margin-top: 25px;
    min-height: 80px;
}

.story-teaser-container {
    margin: 80px auto;
    padding: 0 20px;
    max-width: 850px;
    text-align: center;
    background: transparent;
}

.story-teaser-text {
    color: var(--text-color);
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.secondary-btn {
    display: inline-block;
    padding: 12px 32px;
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

.secondary-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.app-download-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 120, 212, 0.2);
    border: 2px solid transparent;
}

.app-download-button:hover {
    transform: translateY(-2px);
    background-color: #005a9e;
    box-shadow: 0 6px 20px rgba(0, 120, 212, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.app-download-button svg {
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    width: 24px;
    height: auto;
}

.video-body-container {
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background-color: #000000;
}

.video-jitsi-wrapper {
    width: 100%;
    height: 100%;
}

#dash-shared-panel-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: transparent;
}

body.dark-theme #dash-shared-panel-area {
    background-color: var(--bg-color);
}

.shared-panel-top-bar {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
}

.shared-panel-close-btn {
    background: var(--white);
    border: 1px solid #e1dfdd;
    color: #605e5c;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
}

.shared-panel-close-btn:hover {
    background: #f3f2f1;
    color: #d13438;
    transform: scale(1.05);
}

body.dark-theme .shared-panel-close-btn {
    background: #2c2c2c;
    border-color: #555;
    color: #fff;
}

body.dark-theme .shared-panel-close-btn:hover {
    background: #3a3a3a;
    color: #ff6b6b;
}

.shared-panel-layout {
    display: flex;
    gap: 15px;
    flex: 1;
    height: 100%;
    align-items: stretch;
}

.shared-panel-sidebar {
    width: 260px;
    background-color: var(--white);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    padding: 15px 0;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #e1dfdd;
    flex-shrink: 0;
}

.shared-folder-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.shared-folder-item {
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
    color: #605e5c;
    display: flex;
    align-items: center;
    gap: 12px;
}

.shared-folder-item svg {
    flex-shrink: 0;
    color: var(--primary-color);
}

.shared-folder-item:hover, .shared-folder-item.active {
    background-color: #f3f2f1;
    color: var(--primary-color);
    border-left: 3px solid var(--primary-color);
}

.shared-panel-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
    background-color: var(--white);
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #e1dfdd;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
}

body.dark-theme .shared-panel-sidebar,
body.dark-theme .shared-panel-content {
    background-color: var(--white);
    border-color: var(--border-color);
}

body.dark-theme .shared-folder-item:hover, 
body.dark-theme .shared-folder-item.active {
    background-color: #2c2c2c;
    color: #ffffff !important;
}

.loader-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    min-height: 200px;
}

.spinner-icon {
    animation: spin 1s linear infinite;
    stroke: #333;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.custom-drive-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    align-items: flex-start;
}

.custom-drive-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #323130;
    background: #ffffff;
    border: 1px solid #e1dfdd;
    border-radius: 8px;
    padding: 18px;
    transition: all 0.2s ease-in-out;
    width: 180px;
    height: 220px;
    flex: 0 0 auto;
    justify-content: space-between;
}

.custom-drive-item:hover {
    background: #fdfdfd;
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.drive-item-thumbnail {
    width: 100%;
    height: 140px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.drive-item-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.drive-fallback-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-type-icon {
    width: 115px;
    height: 115px;
    display: block;
    transition: transform 0.2s ease;
}

.custom-drive-item:hover .file-type-icon {
    transform: scale(1.05);
}

.drive-item-name {
    font-size: 12px;
    text-align: center;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    color: #605e5c;
    margin-top: 10px;
}

.error-msg-text {
    color: #dc3545;
    text-align: center;
    padding: 20px;
    font-weight: 500;
}

#shared-project-name-container {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color, #e1dfdd);
    margin-bottom: 10px;
    word-break: break-word;
}

#shared-project-name-display {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary-color, #0078d4);
}

#ctx-menu {
    position: fixed !important;
    background: #ffffff;
    border: 1px solid #e1dfdd;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    z-index: 2147483647;
    min-width: 200px;
    padding: 6px 0;
    list-style: none;
    pointer-events: auto;
}

#ctx-menu.hidden {
    display: none !important;
}

#ctx-menu li {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #323130;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background 0.2s ease;
}

#ctx-menu li:hover {
    background-color: #f3f2f1;
    color: var(--primary-color);
}

#ctx-menu li.hidden {
    display: none !important;
}

.context-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.context-menu-list li {
    padding: 10px 15px;
    font-size: 0.9rem;
    color: #323130;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.context-menu-list li:hover {
    background-color: #f3f2f1;
}

@keyframes fab-stroke-pulse {
    0% { stroke: #f5f5dc; filter: drop-shadow(0 0 2px rgba(245, 245, 220, 0.3)); }
    33% { stroke: #8b5cf6; filter: drop-shadow(0 0 3px rgba(139, 92, 246, 0.3)); }
    66% { stroke: #ef4444; filter: drop-shadow(0 0 3px rgba(239, 68, 68, 0.3)); }
    100% { stroke: #f5f5dc; filter: drop-shadow(0 0 2px rgba(245, 245, 220, 0.3)); }
}

#shared-upload-fab {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
    transition: transform 0.3s ease;
    padding: 0;
}

#shared-upload-fab svg {
    width: 48px;
    height: 48px;
    stroke-width: 0.8px;
    animation: fab-stroke-pulse 4s infinite;
}

#shared-upload-fab:hover {
    transform: scale(1.1);
}

#shared-upload-fab.hidden {
    display: none !important;
    animation: none;
}

#investor-upload-fab.top-bar-btn {
    display: flex;
}

#investor-upload-fab.hidden {
    display: none;
}

/* Ukrycie wejścia plikowego (input file) */
#investor-main-upload-input.hidden {
    display: none;
}

.dash-top-bar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 15px;
    border-bottom: 1px solid #e5e7eb;
    min-height: 70px;
    width: 100%;
}

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 380px;
}

.search-wrapper svg {
    position: absolute;
    left: 12px;
    color: #6b7280;
    stroke-width: 0.8px;
    pointer-events: none;
}

#investor-search-input, #shared-search-input {
    width: 100%;
    padding: 10px 15px 10px 40px;
    border: 1.8px solid #4452bb;
    border-radius: 16px;
    font-size: 14px;
    background-color: #ffffff;
    outline: none;
    transition: all 0.2s ease-in-out;
}

#investor-search-input:focus, #shared-search-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

#investor-search-input::placeholder, #shared-search-input::placeholder {
    color: #9ca3af;
}

#investor-folder-display-name, #shared-folder-display-name {
    margin-left: auto;
    font-size: 1.3rem;
    font-weight: 400;
    color: #605e5c;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    padding: 0 20px;
}

#investor-sort-btn, #shared-sort-btn, .top-bar-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    margin-left: 8px;
    color: #6b7280;
    transition: color 0.2s ease;
}

#investor-sort-btn:hover, #shared-sort-btn:hover, .top-bar-btn:hover {
    color: #3b82f6;
}

#investor-sort-btn svg, #shared-sort-btn svg, .top-bar-btn svg {
    width: 30px;
    height: 30px;
    stroke-width: 1.1px;
}

.sort-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

#investor-sort-menu, #shared-sort-menu {
    position: absolute;
    top: 100%;
    right: 0;
    width: 160px;
    background: #ffffff;
    border: 1px solid #e1dfdd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    margin-top: 8px;
}

#investor-sort-menu .context-menu-list, #shared-sort-menu .context-menu-list {
    list-style: none;
    padding: 4px 0;
    margin: 0;
}

#investor-sort-menu .context-menu-list li, #shared-sort-menu .context-menu-list li {
    padding: 10px 23px;
    font-size: 14px;
    font-weight: 400;
    color: #2b2829;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sort-menu-header {
    padding: 10px 16px;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6b7280;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 4px;
    pointer-events: none;
    user-select: none;
}

#investor-sort-menu .context-menu-list li:hover, #shared-sort-menu .context-menu-list li:hover {
    background-color: #f3f2f1;
    color: #0078d4;
}

#investor-sort-menu .menu-divider, #shared-sort-menu .menu-divider {
    height: 1px;
    background-color: #f3f4f6;
    margin: 4px 0;
    padding: 0 !important;
    pointer-events: none;
}

.shared-panel-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0;
    background-color: var(--white);
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #e1dfdd;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
}

#shared-folder-content-view {
    padding: 20px;
}

.custom-drive-item.selected {
    background-color: #eff6ff !important;
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 1px #3b82f6 !important;
}

.selection-box {
    position: fixed;
    border: 1px solid #3b82f6;
    background: rgba(59, 130, 246, 0.1);
    pointer-events: none;
    z-index: 10000;
}

.project-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.project-delete-btn {
    background: transparent;
    border: none;
    color: #a4262c;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-delete-btn:hover {
    background: #fde7e9;
    color: #a4262c;
}

.project-list-card {
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}

.project-list-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.project-info-sidebar {
    padding: 10px 0;
    margin-top: 15px;
}

.project-info-name {
    margin: 0;
    color: #333;
    font-size: 1.2rem;
    font-weight: 800;
}

.project-info-dates {
    margin: 4px 0;
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

.project-info-investor {
    margin: 0;
    color: #0078d4;
    font-weight: 700;
    font-size: 1rem;
}

#investor-active-project-name {
    font-size: 1.2rem !important;
    font-weight: 500 !important;
    display: inline-block !important;
    background: linear-gradient(45deg, #333, #0078d4) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    transition: all 0.3s ease !important;
    cursor: default !important;
}

#investor-active-project-name:hover {
    transform: translateY(-1px) !important;
    filter: brightness(1.2) !important;
}

#investor-project-start-date {
       font-size: 1rem !important;
    font-weight: 500 !important;
    display: inline-block !important;
    background: linear-gradient(45deg, #333, #0078d4) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    transition: all 0.3s ease !important;
    cursor: default !important;
}    

.inv-folder-link svg, .shared-folder-item svg {
    stroke-width: 1.1px !important;
    stroke: #d56d1e !important;
    filter: drop-shadow(0 12px 5px rgba(210, 180, 140, 0.6)) !important;
    overflow: visible !important;
    transition: all 0.3s ease-in-out !important;
}

.inv-folder-link.active svg, .shared-folder-item.active svg {
    filter: drop-shadow(0 14px 8px rgba(210, 180, 140, 0.8)) !important;
}

.inv-folder-link:hover svg, .shared-folder-item:hover svg {
    transform: translateY(-1px) !important;
    filter: drop-shadow(0 15px 10px rgba(210, 180, 140, 1)) !important;
}

#custom-context-menu, 
#investor-sort-menu {
    min-width: 230px;
    background: #ffffff;
    border: 1px solid #e1dfdd;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 6px 0;
    z-index: 10000;
}

#custom-context-menu li, 
#investor-sort-menu li,
#custom-context-menu button {
    font-size: 16px;
    padding: 10px 16px;
    color: #323130;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    border: none;
    background: transparent;
    text-align: left;
    transition: background 0.2s ease;
}

#custom-context-menu li:hover, 
#investor-sort-menu li:hover,
#custom-context-menu button:hover {
    background-color: #f3f2f1;
    color: #0078d4;
}

#custom-context-menu svg, 
#investor-sort-menu svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
}

.project-card-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.project-finish-btn, .project-delete-btn {
    background: none;
    border: none;
    padding: 2px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.project-finish-btn:hover, .project-delete-btn:hover {
    opacity: 0.7;
    transform: scale(1.1);
}

.project-finish-btn svg,
.project-delete-btn svg {
    width: 32px;
    height: 32px;
    stroke-width: 0.8px !important;
}

.project-finish-btn svg {
    stroke: #1b79e2;
}

.project-delete-btn svg {
    stroke: #d32f2f;
}

/* --- CONTEXT MENU --- */
#ctx-menu {
    position: fixed !important;
    background: #ffffff;
    border: 1px solid #e1dfdd;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    z-index: 2147483647;
    min-width: 324px;
    padding: 6px 0;
    list-style: none;
    pointer-events: auto;
}

#ctx-menu.hidden {
    display: none !important;
}

#ctx-menu li {
    padding: 15px 20px;
    font-size: 15px;
    font-weight: 400;
    color: #323130;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: background 0.2s ease;
}

#ctx-menu li:hover {
    background-color: #f3f2f1;
    color: var(--primary-color);
}

#ctx-menu li.hidden {
    display: none !important;
}

.context-menu li {
    padding: 8px 12px;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.context-menu li svg {
    width: 25px;
    height: 25px;
}

#krd-notification-container {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 2147483647;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.notification-toast {
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #a3a3a3;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    padding: 24px 28px;
    width: 460px;
    min-height: 200px;
    transform: translateX(calc(100% + 40px));
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.2);
    pointer-events: auto;
}

.notification-toast.visible {
    transform: translateX(0);
}

.notification-toast-icon {
    width: 90px;
    height: 90px;
    margin-right: 20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-toast-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.notification-toast-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.notification-toast-title {
    font-weight: 700;
    font-size: 19px;
    color: #1a1a1a;
    margin-bottom: 6px;
}

.notification-toast-text {
    font-size: 15px;
    color: #444444;
    line-height: 1.5;
}

#custom-confirm-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(128, 128, 128, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#custom-confirm-modal.hidden {
    display: none;
}

.custom-confirm-content {
    width: 450px;
    height: 250px;
    background-color: #ffffff;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.custom-confirm-header {
    padding: 15px 20px;
    font-weight: bold;
    font-size: 16px;
    text-align: left;
    border-bottom: 1px solid #eeeeee;
}

.custom-confirm-body {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
}

.custom-confirm-footer {
    padding: 15px 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
    border-top: 1px solid #eeeeee;
}

#product-details-side-panel.side-panel-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0 0 0 / 75%);
    z-index: 9999;
    display: flex;
    justify-content: flex-end;
    transition: opacity 0.3s ease, visibility 0s;
    opacity: 1;
    visibility: visible;
}

#product-details-side-panel.side-panel-overlay.hidden {
    display: flex !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.3s ease 0.4s, visibility 0s 0.7s;
}

#product-details-side-panel .side-panel-container {
    width: 550px;
    height: 100%;
    background-color: #fff;
    box-shadow: -4px 0 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    transform: translateX(0);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

#product-details-side-panel.side-panel-overlay.hidden .side-panel-container {
    transform: translateX(100%) !important;
}

.list-render-wrapper {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 140px);
    overflow: hidden;
    margin: 0;
}

.list-render-header, .client-grid-header {
    flex-shrink: 0;
    background: white;
    z-index: 10;
}

.client-products-grid-inner {
    flex: 1;
    overflow-y: auto;
    scrollbar-width: none;
    padding-right: 5px;
}

.client-products-grid-inner::-webkit-scrollbar {
    display: none;
}

.client-footer-summary {
    flex-shrink: 0;
    background: white !important;
    padding: 20px 0 !important;
    margin-top: 0 !important;
    border-top: 2px solid var(--primary-color) !important;
    z-index: 10;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.03) !important;
}

.client-footer-summary {
    position: sticky !important;
    bottom: -20px !important;
    background: white !important;
    padding: 20px 25px !important;
    margin: 30px 0px 0px -40px !important;
    box-shadow: 0 -10px 25px rgba(0,0,0,0.05) !important;
    border-top: 2px solid var(--primary-color) !important;
    z-index: 1000 !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    width: auto !important;
}

#side-panel-product-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
}

.side-panel-header {
    padding: 16px;
    display: flex;
    justify-content: flex-end;
    border-bottom: 1px solid #f0f0f0;
}

.side-panel-close-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    border-radius: 8px;
    transition: background-color 0.2s;
}

.side-panel-close-btn:hover {
    background-color: #f5f5f5;
}

.side-panel-scroll-area {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.side-panel-image-box {
    width: 100%;
    margin-bottom: 20px;
}

.side-panel-image-box img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.side-panel-info-box h3 {
    margin: 0 0 12px 0;
    font-size: 1.25rem;
    font-weight: 600;
}

#side-panel-desc-container {
    margin-bottom: 24px;
}

#side-panel-desc-text {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #4a4a4a;
    white-space: pre-wrap;
}

#side-panel-desc-editor {
    width: 100%;
    min-height: 120px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    resize: vertical;
}

.side-panel-admin-controls {
    margin-top: 16px;
    display: flex;
    justify-content: flex-end;
}

.client-row-interactive-icons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.client-row-interactive-icons svg {
    width: 22px;
    height: 22px;
    stroke-width: 1px;
    cursor: pointer;
}

.msg-icon-trigger {
    position: relative;
    display: inline-flex;
}

.comment-input-wrap {
    display: none;
    position: absolute;
    top: calc(100% + 15px);
    right: -10px;
    bottom: auto;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 6px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    z-index: 2147483647;
    opacity: 0;
    transform: translateY(-5px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.comment-input-wrap.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.comment-input {
    border: none;
    outline: none;
    padding: 14px 18px;
    font-size: 15px;
    width: 280px;
    border-radius: 8px;
    background: transparent;
    color: #333;
}

.custom-tooltip {
    position: absolute;
    background-color: #ffffff;
    color: #323130;
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    white-space: pre-wrap;
    overflow-wrap: break-word;
    max-width: 350px;
    width: max-content;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 2147483647;
    pointer-events: none;
    line-height: 1.5;
    text-align: left;
    border: 1px solid #e1dfdd;
}

.msg-icon-trigger[data-custom-title]::after,
.msg-icon-trigger[data-custom-title]::before {
    display: none !important;
}

.shop-icon-trigger svg {
    stroke-width: 1px;
    color: #9b59b6;
}

.folder-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.folder-main-info {
    display: flex;
    align-items: center;
}

.folder-question-trigger {
    opacity: 0;
    transition: opacity 0.2s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.folder-header:hover .folder-question-trigger {
    opacity: 1;
}

.folder-question-trigger svg {
    width: 18px;
    height: 18px;
    stroke-width: 1px;
    color: #e67e22;
}

.inv-folder-link, .shared-folder-item, 
#investor-folder-display-name, #shared-folder-display-name {
    display: flex;
    align-items: center;
    width: 100%;
}

.lucide-circle-question-mark {
    margin-left: auto;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

.inv-folder-link:hover .lucide-circle-question-mark,
.shared-folder-item:hover .lucide-circle-question-mark {
    opacity: 1;
}

.folder-info-popup {
    position: absolute;
    z-index: 10001;
    background: #ffffff;
    border: 1px solid #e1dfdd;
    border-radius: 8px;
    padding: 12px 16px;
    width: 280px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    font-size: 13px;
    line-height: 1.5;
    color: #323130;
    transform: translate(-50%, -100%);
    pointer-events: auto;
    animation: popupFadeIn 0.2s ease-out;
}

.folder-info-popup::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: #ffffff;
    border-right: 1px solid #e1dfdd;
    border-bottom: 1px solid #e1dfdd;
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -95%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -100%);
    }
}

.custom-drive-item.shared-list-item {
    width: 234px !important;
    height: 176px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 4px !important;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.05), 
        0 2px 4px -1px rgba(0, 0, 0, 0.03) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 30px !important;
    transition: box-shadow 0.3s ease !important;
    cursor: pointer !important;
    text-decoration: none !important;
    transform: none !important;
    position: relative !important;
    overflow: hidden !important;
}

.custom-drive-item.shared-list-item::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 3px !important;
    background: linear-gradient(90deg, #c59b27, #fceda1, #c59b27, #fceda1, #c59b27) !important;
    background-size: 200% 100% !important;
    transition: background-position 0.6s ease !important;
}

.custom-drive-item.shared-list-item:hover {
    box-shadow: 
        0 10px 15px -3px rgba(0, 0, 0, 0.08), 
        0 4px 6px -2px rgba(0, 0, 0, 0.04),
        0 20px 25px -5px rgba(0, 0, 0, 0.05) !important;
    transform: none !important;
}

.custom-drive-item.shared-list-item:hover::before {
    background-position: 100% 0 !important;
}

.custom-drive-item.shared-list-item .list-icon-preview {
    display: none !important;
}

.custom-drive-item.shared-list-item .drive-item-name {
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #475569 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    text-align: center !important;
    margin: 0 !important;
    white-space: normal !important;
    line-height: 1.6 !important;
    position: relative !important;
    padding-bottom: 20px !important;
    width: 100% !important;
    transition: color 0.3s ease !important;
}

.custom-drive-item.shared-list-item .drive-item-name::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 134px !important;
    height: 1px !important;
    background-color: #cbd5e1 !important;
    transition: width 0.4s ease, background-color 0.4s ease !important;
}

.custom-drive-item.shared-list-item:hover .drive-item-name::after {
    width: 65px !important;
    background-color: #c59b27 !important;
}

.moodboard-palette-bar {
    display: flex;
    gap: 12px;
    padding: 15px;
    margin: 10px 0 25px 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    justify-content: flex-start;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.palette-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.palette-circle:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.palette-circle.zoomed {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 500px !important;
    height: 500px !important;
    transform: translate(-50%, -50%) scale(1) !important;
    z-index: 99999;
    cursor: zoom-out;
    box-shadow: 0 0 120px rgba(0, 0, 0, 0.9), 0 0 0 5000px rgba(0, 0, 0, 0.8);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-drive-grid .custom-drive-item.moodboard-tile {
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    background: transparent !important;
    border: none !important;
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
    border-radius: 12px !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.custom-drive-grid .custom-drive-item.moodboard-tile:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4) !important;
}

.custom-drive-item.moodboard-tile .drive-item-thumbnail {
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    background: #1a1a1a !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.custom-drive-item.moodboard-tile .drive-item-thumbnail img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 0 !important;
}

.custom-drive-item.moodboard-tile .drive-item-name {
    display: none !important;
}

.custom-drive-item.moodboard-tile.moodboard-note-tile .drive-item-name {
    display: block !important;
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 5px;
    z-index: 10;
    font-weight: 600;
    color: #323130;
}

.custom-drive-grid .custom-drive-item.moodboard-note-tile {
    background: #f3e5e0 !important;
    cursor: grab !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 5px !important;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
    position: relative !important;
}

.custom-drive-grid .custom-drive-item.moodboard-note-tile:active {
    cursor: grabbing !important;
}

.custom-drive-grid .custom-drive-item.moodboard-note-tile .lucide-notebook-text {
    width: 150px;
    height: 150px;
    stroke: #807d7d !important;
    stroke-width: 0.3px !important;
}

.note-paper-content {
    font-size: 13px;
    line-height: 1.6;
    color: #4a4a4a;
    text-align: center;
    width: 100%;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    word-break: break-word;
}

.note-content-display {
    white-space: pre-wrap;
    word-wrap: break-word;
    font-size: 1rem;
    line-height: 1.6;
    color: #323130;
    max-height: 65vh;
    overflow-y: auto;
    padding: 10px 5px;
    text-align: left;
}

.custom-drive-item.moodboard-tile.drop-target {
    outline: 3px solid #0078d4 !important;
    outline-offset: -3px !important;
    transform: scale(0.97) !important;
    box-shadow: 0 0 20px rgba(0, 120, 212, 0.3) !important;
}

#ctx-menu {
    position: fixed;
    z-index: 10000;
    background: white;
    border: 1px solid #ccc;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    padding: 5px 0;
    min-width: 260px;
    border-radius: 4px;
}

#ctx-menu li {
    display: flex !important;
    align-items: center;
    padding: 10px 15px;
    cursor: pointer;
    list-style: none;
    gap: 18px;
    color: #323130;
    font-size: 14px;
}

#ctx-menu li:hover {
    background-color: #f3f2f1;
}

#ctx-menu li.hidden {
    display: none !important;
}

#note-creation-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20000;
    backdrop-filter: blur(3px);
}

#note-creation-window {
    background: #ffffff;
    width: 100%;
    max-width: 650px;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#note-creation-window h3 {
    margin: 0;
    font-size: 1.5rem;
    color: #201f1e;
    font-weight: 600;
}

#note-creation-body {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#note-modal-name {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #8a8886;
    border-radius: 8px;
    font-size: 15px;
    color: #323130;
    background: #faf9f8;
    transition: border-color 0.2s, background-color 0.2s;
}

#note-modal-body {
    width: 100%;
    height: 380px;
    padding: 16px;
    border: 1px solid #8a8886;
    border-radius: 8px;
    font-size: 15px;
    color: #323130;
    resize: none;
    line-height: 1.6;
    background: #faf9f8;
    transition: border-color 0.2s, background-color 0.2s;
}

#note-modal-name:focus, #note-modal-body:focus {
    border-color: #323130;
    background: #ffffff;
    outline: none;
}

#note-creation-footer {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 10px;
}

#note-modal-cancel {
    background-color: #ffffff;
    color: #323130;
    border: 1px solid #8a8886;
    border-radius: 8px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

#note-modal-cancel:hover {
    background-color: #f3f2f1;
}

#note-modal-save {
    background-color: #323130;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: background-color 0.2s, transform 0.1s;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100000;
}

.modal-content {
    background-color: var(--white);
    border-radius: var(--border-radius);
    width: 400px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.modal-header {
    padding: 15px 20px;
    border-bottom: 1px solid #edebe9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #8a8886;
}

.modal-body {
    padding: 20px;
}

.property-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.property-label {
    font-weight: 600;
    color: #605e5c;
}

.property-value {
    color: var(--text-color);
    word-break: break-all;
    text-align: right;
    padding-left: 10px;
}

.property-divider {
    border: none;
    border-top: 1px solid #edebe9;
    margin: 15px 0;
}

#note-modal-save:active {
    transform: scale(0.98);
}

.note-tile {
    background-color: #fdfaf0 !important;
}

.note-tile .lucide-notebook-text {
    stroke: #b0b0b0 !important;
    transition: width 0.2s ease, height 0.2s ease;
}

.note-tile:hover .lucide-notebook-text {
    width: 58px;
    height: 58px;
}

.shared-panel-content, .dashboard-content {
    position: relative;
    display: flex;
    flex-direction: column;
}

.home-display {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    pointer-events: none;
    z-index: 0;
}

.home-wallpaper-img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
}

.home-display.hidden {
    display: none !important;
}

#terms-text-area,
#promo-text-area {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
    text-align: justify;
}

#terms-text-area strong,
#promo-text-area strong {
    color: var(--primary-color);
    font-size: 1.1rem;
}

#terms-text-area strong + br,
#promo-text-area strong + br {
    display: block;
    content: "";
    margin-top: 8px;
}

#terms-text-area br,
#promo-text-area br {
    content: "";
    display: block;
    margin-top: 10px;
}

#chat-widget {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    width: 420px !important;
    height: 620px !important;
    background: #fff !important;
    border-radius: 15px !important;
    box-shadow: 0 5px 25px rgba(0,0,0,0.15) !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    z-index: 100000 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(20px) !important;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease !important;
}
#chat-widget.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
}
.chat-header {
    background-color: #fff;
    color: #323130;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-bottom: 1px solid #eee;
}
.chat-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
.icon-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background 0.2s;
}
.icon-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}
.recipient-selector {
    display: flex;
    gap: 5px;
    background: rgba(0, 0, 0, 0.1);
    padding: 5px;
    border-radius: 4px;
}
.recipient-selector input {
    flex: 1;
    border: none;
    border-radius: 3px;
    padding: 4px 8px;
    font-size: 12px;
    outline: none;
}
.small-btn {
    background: white;
    color: #0078d4;
    border: none;
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 11px;
    cursor: pointer;
    font-weight: 600;
}
.chat-settings-panel {
    background: white;
    color: #323130;
    padding: 10px;
    border-radius: 4px;
    font-size: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.settings-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#chat-widget .chat-header-branding {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}
#chat-widget .chat-header-logo {
    height: 30px !important;
    border-radius: 50% !important;
}
#chat-widget .chat-header-titles {
    display: flex !important;
    flex-direction: column !important;
}
#chat-widget .chat-main-title {
    font-weight: 600 !important;
    font-size: 16px !important;
}
#chat-widget .chat-sub-title {
    font-size: 12px !important;
    opacity: 0.8 !important;
}
#chat-widget #close-chat {
    background: none !important;
    border: none !important;
    color: white !important;
    font-size: 24px !important;
    cursor: pointer !important;
}
#chat-widget #chat-messages {
    flex: 1 !important;
    padding: 15px !important;
    overflow-y: auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    background: #f0f2f5 !important;
}
#chat-widget .message {
    max-width: 80% !important;
    padding: 10px 15px !important;
    border-radius: 18px !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    word-wrap: break-word !important;
}
#chat-widget .message-user {
    align-self: flex-end !important;
    background: #0084ff !important;
    color: white !important;
    border-bottom-right-radius: 4px !important;
}
#chat-widget .message-support {
    align-self: flex-start !important;
    background: #e4e6eb !important;
    color: #050505 !important;
    border-bottom-left-radius: 4px !important;
}
#chat-widget .chat-footer {
    padding: 10px !important;
    background: #fff !important;
    border-top: 1px solid #eee !important;
}
#chat-widget .chat-input-bar {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: #f0f2f5 !important;
    padding: 5px 12px !important;
    border-radius: 20px !important;
}
#chat-widget #message-input {
    flex: 1 !important;
    border: none !important;
    background: transparent !important;
    padding: 8px 0 !important;
    outline: none !important;
    font-size: 14px !important;
}
#chat-widget .chat-actions-group {
    display: flex !important;
    gap: 5px !important;
    align-items: center !important;
}
#chat-widget .chat-attach-btn, 
#chat-widget #send-btn {
    background: none !important;
    border: none !important;
    color: #0084ff !important;
    cursor: pointer !important;
}

/* --- CHAIDY 2.0: MENU WYBORU ODBIORCY --- */
.chaidy-dropdown {
    position: fixed;
    width: 250px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    border: 1px solid #e1dfdd;
    z-index: 100005;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: fadeIn 0.2s ease-out;
}

.chaidy-menu-header {
    padding: 15px 20px;
    background: linear-gradient(135deg, var(--primary-color), #005a9e);
    color: white;
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
}

.chaidy-menu-section-title {
    padding: 10px 20px 5px;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #a19f9d;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.chaidy-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    cursor: pointer;
    transition: background 0.2s;
    border-left: 3px solid transparent;
}

.chaidy-menu-item:hover {
    background-color: #f3f2f1;
    border-left-color: var(--primary-color);
}

.chaidy-item-icon {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
}

.chaidy-item-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.chaidy-item-name {
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chaidy-menu-divider {
    height: 1px;
    background-color: #e1dfdd;
    margin: 5px 0;
}

.chaidy-new-chat {
    padding: 15px 20px;
    display: flex;
    gap: 8px;
    background: #faf9f8;
}

#chaidy-new-id-input {
    flex: 1;
    border: 1px solid #c8c6c4;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 0.85rem;
    outline: none;
    transition: border-color 0.2s;
}

#chaidy-new-id-input:focus {
    border-color: var(--primary-color);
}

.chaidy-new-chat button {
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    width: 35px;
    height: 35px;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.chaidy-new-chat button:hover {
    background: #005a9e;
}

/* Styl dla "Twoje ID" w oknie czatu */
#my-id-container {
    font-size: 0.7rem;
    color: #605e5c;
    margin-top: 2px;
    cursor: pointer;
}

#my-id-container:hover {
    color: var(--primary-color);
}

.chaidy-dropdown {
    position: fixed;
    width: 280px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border: 1px solid #e1dfdd;
    z-index: 200000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: fadeIn 0.2s ease-out;
}

.chaidy-menu-header {
    padding: 15px;
    background: linear-gradient(135deg, var(--primary-color), #005a9e);
    color: white;
    font-weight: 700;
    text-align: center;
}

.chaidy-menu-section-title {
    padding: 10px 15px 5px;
    font-size: 11px;
    text-transform: uppercase;
    color: #a19f9d;
    font-weight: 700;
}

.chaidy-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    cursor: pointer;
    transition: background 0.2s;
}

.chaidy-menu-item:hover {
    background-color: #f3f2f1;
}

.chaidy-menu-divider {
    height: 1px;
    background-color: #e1dfdd;
    margin: 5px 0;
}

.chaidy-new-chat {
    padding: 12px 15px;
    display: flex;
    gap: 5px;
    background: #faf9f8;
}

#chaidy-new-id-input {
    flex: 1;
    border: 1px solid #c8c6c4;
    border-radius: 4px;
    padding: 6px;
    font-size: 13px;
}

.chaidy-new-chat button {
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0 10px;
    cursor: pointer;
}

.message-wrapper {
    display: flex;
    width: 100%;
    margin-bottom: 12px;
    clear: both;
}

.message-wrapper.sent {
    justify-content: flex-end;
}

.message-wrapper.received {
    justify-content: flex-start;
}

.message-bubble {
    max-width: 80%;
    padding: 10px 14px;
    font-size: 0.9rem;
    line-height: 1.4;
    position: relative;
    border-radius: 18px;
    word-wrap: break-word;
}

.message-wrapper.sent .message-bubble {
    background-color: #0078d4;
    color: #ffffff;
    border-bottom-right-radius: 4px;
    margin-right: 8px;
}

.message-wrapper.received .message-bubble {
    background-color: #f3f2f1;
    color: #323130;
    border-bottom-left-radius: 4px;
    margin-left: 8px;
    border: 1px solid #e1dfdd;
}

.attachment {
    margin-top: 6px;
    font-size: 0.8rem;
}

.attachment a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 4px;
    opacity: 0.8;
}

.attachment a:hover {
    opacity: 1;
}