﻿:root {
    --backgr: #F8F8F8;
    --frontcolor: #2C2C2C;
}
.write-button, .write-button:active, .write-button:link, .write-button:visited,
.navbar-button, .navbar-button:active, .navbar-button:link, .navbar-button:visited {
    height: 40px;
    color: var(--frontcolor);
    display: table-cell !important;
    vertical-align: middle !important;
    line-height: 40px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    text-decoration: none;
}
    .write-button, .write-button:active, .write-button:link, .write-button:visited {
        padding-right: 8px;
    }

        .navbar-button, .navbar-button:active, .navbar-button:link, .navbar-button:visited {
    padding: 0 8px 0 16px;
}   
    .write-button > img {
        float: left;
        margin: 8px 6px 8px 8px;
    }

.upper-line {
    display: block;
    margin-top: 0;
    position: fixed;
    z-index: 99;
    background-color: var(--backgr);
    color: var(--frontcolor);
    height: 50px;
    width: 100%
}



    .navbar-header:first-child,
    .navbar-header:last-child {
        flex: 0 0 auto; 
        width: max-content;
        min-width: max( var(--left-width, 0px), var(--right-width, 0px) ); 
    }

    .navbar-header:nth-child(2) {
        flex: 1;
        justify-content: center;
    }


.top-cptns, .top-cptns:hover, .top-cptns:visited, .top-cptns:link, .top-cptns:active {
    font: 400 36px/40px "Times New Roman", Times, serif;
    text-align: center;
    text-decoration: none;
    color: var(--frontcolor);
}
.top-cptns-mgz {
    margin: 0 0 0 5px;
    font: 400 16px/20px "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-style: normal;
}
.top-opt, .top-opt:hover, .top-opt:visited, .top-opt:active, .top-opt:link {
    padding: 10px;
    margin: 0;
    text-align: center; 
    font: 400 16px/20px "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-style: normal;
    text-decoration: none;
    cursor: pointer;
    color: inherit;
}
.top-opt:hover {
    text-decoration: solid 3px underline !important;
    text-underline-offset: 8px;
}
.top-opt-row, .top-opt2-row, .top-opt3-row, .top-search-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: auto;
    padding: 0;
    margin-bottom: 10px;
}
.top-opt-row {
    margin: 10px auto; /* Center the row horizontally */
    color: var( --bc7);
    height: 40px;
}
.top-opt2-row {
    background: var( --bc7);
    color: white;
    height: 40px;
}
.top-opt3-row {
    background: var( --bc5);
    color: white;
    height: 40px;
    margin-top: 15px;
}
.top-search-row {
    background: var( --bc7);
    height: 70px;
    padding-bottom: 15px;
}
.top-opt-selected {
    font-weight: bold !important;
    text-decoration: solid 3px underline !important;
    text-underline-offset: 8px;
}
.top-row {
}
.search-container {
    background-color: var(--backgr);
    border-radius: 8px;
    margin: 15px 10px 0 10px;
    height: 40px;
    width: 1128px;
    display: flex;
    padding: 8px 6px 8px 6px;
}
    .search-container > input, .search-container > input:focus {
        border: none;
        font-size: 18px;
        height: 24px;
        flex: 1 0 1000px;
        margin-right: 8px;
        outline: none;
    }
.dash-container {
    width: 100%;
    padding: 25px 25px;
    background: white;
    display: none;
    position: relative
}
.dash-h {
    font: 500 22px/30px "Helvetica Neue", Helvetica, Arial, sans-serif;
    width: 100%;
    color: black;
}
.dash-menu {
    font: 400 15px/20px "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: black;
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: left;
    width: auto;
    padding: 0;
}
.dash-menu-item, .dash-menu-item:hover, .dash-menu-item:visited, .dash-menu-item:active, .dash-menu-item:link {
    padding: 10px;
    margin: 0;
    text-align: left;
    font-style: normal;
    text-decoration: none;
    cursor: pointer;
    color: inherit;
    height: 60px;
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: top;
}
    .dash-menu-item, .dash-menu-item:visited, .dash-menu-item:active, .dash-menu-item:link {
        text-decoration: none;
    }

    .dash-menu-item:hover {
    text-decoration: underline;
}

.dash-menu-item.has-image {
    flex-direction: column;
    justify-content: top;
    align-items: center;
}

        .dash-menu-item img {
            max-height: 36px;
            margin-top: 5px;
        }
        .dash-menu-item svg {
            max-height: 36px;
            margin-top: 5px;
        }
.dash-close {
    position: absolute;
    top: 5px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
}
.white-filt-capt {
    margin: 10px 0 0 0;
    background: var(--bc7);
    color: var(--bc4);
    font-size: 16px;
    line-height: 20px;
    display: block;
    padding: 0 0 0 10px;
    height: 22px;
}

.center-list-row {
    width: 750px;
    display: table;
    background-color: var(--bc3);
    margin: 8px auto 0 auto;
    padding: 4px 3px 3px 3px;
}
.social-share-container {
    display: flex;
    gap: 10px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.social-share-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 20px;
    border-radius: 4px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: opacity 0.2s;
}

    .social-share-btn:hover {
        opacity: 0.6;
        color: white;
    }

.social-icon {
    width: 36px;
    height: 36px;
    fill: currentColor;
}

.facebook-share {
    background-color: #1877f2;
}

.twitter-share {
    background-color: #000000;
}

.linkedin-share {
    background-color: #0a66c2;
}

.whatsapp-share {
    background-color: #25D366;
}


.telegram-share {
    background-color: #26A5E4;
}

.reddit-share {
    background-color: #FF4500;
}

.email-share {
    background-color: #757575;
}
.copy-share {
    background-color: #2196F3;
    border: none;
    cursor: pointer;
}
.big-button {
    height: 49px;
    line-height: 49px;
    padding: 0 10px;
    color: #FFFFFF;
    font-size: 24px;
    background: #D96600
}
    .big-button:hover {
        text-decoration: solid 3px underline !important;
    }

.email-preview-wrapper {
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.email-intro-section {
    padding: 15px 20px;
    background-color: #f9f9f9;
    border-bottom: 1px solid #e0e0e0;
}

.email-intro-text {
    margin-bottom: 15px;
}

    .email-intro-text h4 {
        margin-top: 0;
        margin-bottom: 8px;
        color: #2c3e50;
    }

    .email-intro-text p {
        margin: 0;
        color: #7f8c8d;
        font-size: 14px;
    }

.recipient-form {
    margin-top: 15px;
}

.email-preview-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 400px;
    border-bottom: 1px solid #e0e0e0;
}

.email-preview-header {
    padding: 10px 20px;
    background-color: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
}

.email-preview-label {
    font-weight: bold;
    color: #555;
    font-size: 14px;
}

.email-preview-container {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
    background-color: #fff;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.05);
}

.email-actions-section {
    padding: 15px 20px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    background-color: #f9f9f9;
}

.email-preview-header {
    padding: 10px 20px;
    background-color: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.email-preview-label {
    font-weight: bold;
    color: #555;
    font-size: 14px;
}
.bg-success {
    background-color: #198754 !important;
    color: white;
}

.bg-secondary {
    background-color: #6c757d !important;
    color: white;
}

.bg-danger {
    background-color: #dc3545 !important;
    color: white;
}

.payd-content-edit {
    background: rgba(255, 245, 157, 0.3)
}
/* Bezmaksas bloki */
.blcklst.free::before {
    content: "FREE";
    position: absolute;
    top: 12px;
    left: -80px;
    background: #22c55e;
    color: white;
    font-size: 11px;
    font-weight: bold;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    padding: 6px 10px;
    border-radius: 14px;
    z-index: 2;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    line-height: 1;
}
/* Premium bloki */
.blcklst {
    position: relative;
}

    .blcklst.premium::before {
        content: "PREMIUM";
        position: absolute;
        top: 12px;
        left: -80px;
        background: #f59e0b;
        color: white;
        font-size: 11px;
        font-weight: bold;
        font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
        padding: 6px 10px;
        border-radius: 14px;
        z-index: 2;
        box-shadow: 0 2px 4px rgba(0,0,0,0.15);
        line-height: 1;
    }

/* Paywall robeža */
.paywall-divider {
    margin: 10px 0;
    padding: 20px 0;
    position: relative;
    background: linear-gradient(90deg, rgba(34, 197, 94, 0.1) 0%, rgba(245, 158, 11, 0.1) 100%);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.paywall-badge {
    background: #f59e0b;
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 13px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.free-content-wrapper {
    position: relative;
}


    .free-content-wrapper::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: min(400px, 100%);
        background: linear-gradient(transparent, white);
        pointer-events: none;
    }


    /*********************************************************/

.subscription-modal {
    max-width: 400px;
    margin: 60px auto 40px auto;
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border: 1px solid #e5e7eb;
}

.modal-header {
    text-align: center;
    margin-bottom: 24px;
}

.modal-title {
    font-size: 22px;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 8px;
}

.modal-subtitle {
    color: #6b7280;
    font-size: 14px;
}

.plans-container {
    display: grid;
    gap: 12px;
    margin-bottom: 20px;
}

.plan-card {
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .plan-card:hover {
        border-color: #f59e0b;
    }

    .plan-card.selected {
        border-color: #f59e0b;
        background: #fef3c7;
    }

.plan-name {
    font-size: 16px;
    font-weight: 500;
    color: #1f2937;
}

.plan-price {
    font-size: 18px;
    font-weight: bold;
    color: #1f2937;
}

.action-buttons {
    display: flex;
    gap: 12px;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    flex: 1;
}

.btn-primary {
    background: #f59e0b;
    color: white;
}

    .btn-primary:disabled {
        background: #d1d5db;
        cursor: not-allowed;
    }

.btn-secondary {
    background: #f3f4f6;
    color: #374151;
}
.office-highlighted {
    color: #f59e0b;
}
.btn-third {
    background: #969696;
    color: white;
}