/* Start of public and privacy popup css */

.hide {
    display: none !important;
}

.public-offer-icon {
    border-radius: 20px;
    width: 40px;
    height: 40px;
    background: #eaecff;
}

.public-offer-modal {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    align-items: center;
    justify-content: center;
    border: 1px solid #3F3F3F;
    box-shadow: 0px 0px 12px 2px #00000040;
    background: rgba(0, 0, 0, 0.5);
}

.public-offer-modal-content {
    position: relative;
    border: 1px solid #3f3f3f;
    border-radius: 12px;
    padding: 12px;
    width: 90%;
    max-width: 500px;
    height: auto;
    box-shadow: 0 0 12px 2px rgba(0, 0, 0, 0.25);
    background: #222;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}


.public-offer-modal-title {
    font-family: 'Poppins';
    font-weight: 500;
    font-size: 2.1vmin;
    letter-spacing: -0.04em;
    text-align: center;
    color: #6e79ff;
    margin-bottom: 8px;
    line-height: 1.2;
}

.public-offer-modal-close {
    position: absolute;
    top: -42px;
    right: 0px;
    color: #999999;
    font-size: 3vmin;
    cursor: pointer;
    background: transparent;
    border: none;
    outline: none;
    line-height: 1;
    z-index: 1;
}

.public-offer-close-icon {
    background: #222222;
    border-radius: 20px;
    height: 32px;
    width: 32px;
}

.public-offer-modal-text {
    font-family: 'Poppins';
    font-weight: 400;
    font-size: 1.6vmin;
    line-height: 1.4;
    letter-spacing: -0.05em;
    text-align: center;
    color: #999;
}

.public-offer-modal-actions {
    width: 100%;
    height: 8vmin;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.accepted-offer-modal-content p,
.redirect-modal-content p,
p.public-offer-modal-text,
.already-accecpted-content p {
    margin-bottom: 0px;
}

button.public-offer-modal-more-info {
    font-family: 'Poppins';
    border: 1px solid #3f3f3f;
    border-radius: 6px !important;
    padding: 8px;
    width: 100%;
    height: 7vmin;
    background: #333333;
    font-weight: 500;
    font-size: 1.4vmin;
    /* line-height: 160%; */
    letter-spacing: -0.01em;
    text-align: center;
    color: #6e79ff;
}

button.public-offer-modal-accept {
    font-family: 'Poppins';
    border-radius: 6px !important;
    padding: 8px;
    width: 100%;
    height: 7vmin;
    background: linear-gradient(90.54deg, #5B5BF9 0%, #4A3DEE 100%);
    font-weight: 500;
    font-size: 1.4vmin;
    letter-spacing: 0.08px;
    text-align: center;
    vertical-align: middle;
    color: #fff;
}

#scroll_public_offer_text {
    background: #333333;
    border: 1px solid #3F3F3F;
    overflow-y: auto;
    color: #C4C4C4;
    height: 55vmin;
    border-radius: 6px;
    padding: 8px;
    text-align: left;
    overflow-x: hidden;
    font-size: 1.3vmin;
}

.policy-content {
    max-height: 384px;
    font-family: 'Poppins';
    font-weight: 500;
    font-size: 1.8vmin;
    line-height: 1.4;
    letter-spacing: -0.08px;
}

.accept-btn-container {
    border: 1px solid #3F2FD3;
    width: 100%;
    height: 8vmin;
    border-radius: 6px !important;
}

.moreinfo-btn-container {
    border: 1px solid #3f3f3f;
    width: 100%;
    height: 8vmin;
    border-radius: 6px !important;
}


button.public-offer-modal-accept:hover {
    background: #3329AA;
    border-top: 1px solid #FFFFFF3D
}

button.public-offer-modal-more-info:hover {
    background: #414141;
    border: 2px solid #5A5A5A
}

button.public-offer-modal-accept:focus {
    background: linear-gradient(90.54deg, #5B5BF9 0%, #4A3DEE 100%);
}

button.public-offer-modal-accept:active {
    background: #2A228A;
    box-shadow: 3.65px 3.65px 7.29px 0px #251E7CA3 inset;
    box-shadow: -3.65px -3.65px 7.29px 0px #4134D8A3 inset;
}

button.public-offer-modal-more-info:focus {
    background: #1E1E1E;
    border: 2px solid #383838;
    box-shadow: 4.44px 4.44px 8.89px 0px #00000052 inset;
    box-shadow: -4.44px -4.44px 8.89px 0px #00000052 inset;
}

#scroll_public_offer_text::-webkit-scrollbar {
    width: 5px;
    /* height: 44px !important; */
}

#scroll_public_offer_text::-webkit-scrollbar-track {
    background-color: transparent;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

#scroll_public_offer_text::-webkit-scrollbar-thumb {
    min-height: 48px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    background: #00000080;
    text-align: justify;
}

.already-accecpted-content {
    font-family: 'Poppins';
    font-weight: 500;
    font-size: 1.6vmin;
    letter-spacing: -0.04em;
    text-align: center;
    color: #fff;
    line-height: 1.2;
}

.public-offer-close-icon:focus,
.public-offer-close-icon:active {
    background: #1E1E1E;
    box-shadow: inset 2px 2px 5px #00000030, inset -2px -2px 5px #ffffff20;
    border-radius: 20px;
}

.public-offer-close-icon:hover {
    background: #414141;
    border-radius: 20px;
}


.redirect-modal {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.redirect-modal-content {
    font-family: 'Poppins';
    font-weight: 500;
    position: relative;
    background: #222222;
    border-radius: 12px;
    padding: 15px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    border: 1px solid #3F3F3F;
    font-size: 1.6vmin;
    line-height: 1.3;
}

.accepted-offer-modal {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.accepted-offer-modal-content {
    font-family: 'Poppins';
    font-weight: 500;
    position: relative;
    background: #222222;
    border-radius: 12px;
    padding: 15px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    border: 1px solid #3F3F3F;
    font-size: 1.6vmin;
    line-height: 1.3;
}

.redirect-modal-text span,
.accepted-offer-modal-text span {
    font-family: 'Poppins';
    font-weight: 500;
    font-size: 1.7vmin;
    line-height: 1.3;
    color: #12B768;
    font-weight: 400;
    letter-spacing: -0.05em;
}

@media screen and (min-width:768px) and (max-width: 991px) and (orientation: landscape) {

    .accept-btn-container,
    .moreinfo-btn-container {
        height: 5vmin;
    }

    .public-offer-modal-title {
        margin-bottom: 4px;
        font-size: 2.3vmin;
        line-height: 1.25;
        letter-spacing: -0.03em;
    }

    .already-accecpted-content {
        font-size: 1.7vmin;
        line-height: 1.25;
        letter-spacing: -0.03em;
    }

    .public-offer-modal-text {
        font-size: 1.7vmin;
        line-height: 1.4;
    }

    .public-offer-modal-actions {
        height: 8vmin;
    }

    #scroll_public_offer_text {
        height: 40vmin;
        max-width: 476px;
    }

    .public-offer-close-icon {
        height: 32px;
        width: 32px;
    }

    .public-offer-close-icon:hover,
    .public-offer-close-icon:focus,
    .public-offer-close-icon:active {
        height: 32px;
        width: 32px;
    }

    .accepted-offer-modal-content p,
    .redirect-modal-content p {
        margin-bottom: 0px;
    }

    .policy-content {
        max-height: 432px;
        font-size: 2vmin;
        line-height: 1.4;
    }

    .public-offer-icon {
        width: 40px;
        height: 40px;
    }

}

@media screen and (min-width:992px) {

    .accept-btn-container,
    .moreinfo-btn-container {
        height: 5vmin;
    }

    .public-offer-modal-title {
        margin-bottom: 4px;
        font-size: 2.5vmin;
        line-height: 1.25;
        letter-spacing: -0.03em;
    }

    .already-accecpted-content p {
        font-size: 1.9vmin;
        line-height: 1.25;
        letter-spacing: -0.03em;
    }

    .public-offer-modal-text {
        font-size: 1.8vmin;
        line-height: 1.4;
    }

    .public-offer-modal-actions {
        height: 5vmin;
    }

    button.public-offer-modal-more-info {
        font-size: 1.5vmin;
        height: 5vmin;
    }

    button.public-offer-modal-accept {
        height: 5vmin;
        font-size: 1.5vmin;
    }

    #scroll_public_offer_text {
        height: 50vmin;
        max-width: 476px;
        font-size: 1.4vmin;
    }

    .public-offer-close-icon {
        height: 36px;
        width: 36px;
    }

    .public-offer-close-icon:hover,
    .public-offer-close-icon:focus,
    .public-offer-close-icon:active {
        height: 36px;
        width: 36px;
    }

    .accepted-offer-modal-content p,
    .redirect-modal-content p {
        margin-bottom: 0px;
    }

    .public-offer-icon {
        border-radius: 24px;
        min-width: 48px;
        min-height: 48px;
    }

    .policy-content {
        max-height: 432px;
        font-size: 2.2vmin;
        line-height: 1.4;
    }

    .redirect-modal-text span,
    .accepted-offer-modal-text span {
        font-size: 1.9vmin;
    }

}

/* Start of Policy Pages CSS */

/* Hide only the site header and footer for policy pages, not content headers */
body:has(.policy-page-main) #masthead,
body:has(.policy-page-main) #colophon {
    /* display: none !important; */
}

/* Base styles for policy pages */
.policy-page-main {
    background: #1A1A1A;
    color: white;
    min-height: 100vh;
    font-family: 'Poppins', sans-serif;
}

.policy-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.policy-page-header {
    text-align: center;
    margin-bottom: 32px;
}

.policy-page-title {
    font-size: 4vmin;
    font-weight: bold;
    color: white;
    margin-bottom: 16px;
    line-height: 1.3;
}

.policy-page-content {
    color: #C4C4C4;
    line-height: 1.6;
    text-align: justify;
    font-size: 2.2vmin;
}

.policy-page-content p {
    margin-bottom: 16px;
}

.policy-page-content h1,
.policy-page-content h2,
.policy-page-content h3,
.policy-page-content h4 {
    color: white;
    margin-top: 24px;
    margin-bottom: 12px;
}

.policy-page-content h1 {
    font-size: 3.5vmin;
}

.policy-page-content h2 {
    font-size: 3vmin;
}

.policy-page-content h3 {
    font-size: 2.6vmin;
}

.policy-page-content ul,
.policy-page-content ol {
    margin-left: 20px;
    margin-bottom: 16px;
}

.policy-page-content li {
    margin-bottom: 8px;
}

.policy-numbered-item {
    display: inline-block;
    margin-left: 32px;
}

/* Link styles for policy pages */
.policy-page-content a {
    color: #6E79FF;
    text-decoration: underline;
    transition: all 0.3s ease;
    word-wrap: break-word;
    word-break: break-word;
}

.policy-page-content a:hover {
    color: #5B5BF9;
    text-decoration: none;
    background-color: rgba(110, 121, 255, 0.1);
    padding: 2px 4px;
    border-radius: 3px;
}

.policy-page-content a:visited {
    color: #8A8AFF;
}

.policy-page-content a:visited:hover {
    color: #7575FF;
    background-color: rgba(138, 138, 255, 0.1);
}

.policy-page-content a:active {
    color: #4A3DEE;
    transform: scale(0.98);
}

.policy-page-content a:focus {
    outline: 2px solid #6E79FF;
    outline-offset: 2px;
    border-radius: 3px;
    background-color: rgba(110, 121, 255, 0.15);
}

/* External link styles */
.policy-page-content a[href^="http"]:not([href*="angelcard"]):after,
.policy-page-content a[href^="https"]:not([href*="angelcard"]):after {
    content: " ↗";
    font-size: 1.6vmin;
    color: #6E79FF;
    margin-left: 2px;
}

.policy-page-content a[href^="http"]:not([href*="angelcard"]):hover:after,
.policy-page-content a[href^="https"]:not([href*="angelcard"]):hover:after {
    color: #5B5BF9;
}

/* Email link styles */
.policy-page-content a[href^="mailto:"]:before {
    content: "✉ ";
    color: #6E79FF;
    margin-right: 2px;
}

.policy-page-content a[href^="mailto:"]:hover:before {
    color: #5B5BF9;
}

/* Phone link styles */
.policy-page-content a[href^="tel:"]:before {
    content: "📞 ";
    margin-right: 2px;
}

/* File download link styles */
.policy-page-content a[href$=".pdf"]:before,
.policy-page-content a[href$=".doc"]:before,
.policy-page-content a[href$=".docx"]:before,
.policy-page-content a[href$=".zip"]:before {
    content: "📄 ";
    margin-right: 2px;
}

/* Special styling for important links */
.policy-page-content a.important-link {
    background: linear-gradient(90deg, #6E79FF 0%, #5B5BF9 100%);
    color: white !important;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 6px;
    display: inline-block;
    margin: 4px 0;
    font-weight: 500;
    transition: all 0.3s ease;
}

.policy-page-content a.important-link:hover {
    background: linear-gradient(90deg, #5B5BF9 0%, #4A3DEE 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(110, 121, 255, 0.3);
}

/* Mobile Portrait (up to 480px) */
@media only screen and (max-width: 480px) {
    .policy-page-container {
        padding: 16px;
    }

    .policy-page-title {
        font-size: 3.5vmin;
        margin-bottom: 12px;
    }

    .policy-page-header {
        margin-bottom: 24px;
    }

    .policy-page-content {
        font-size: 2vmin;
        line-height: 1.5;
    }

    .policy-page-content h1 {
        font-size: 3.2vmin;
    }

    .policy-page-content h2 {
        font-size: 2.8vmin;
    }

    .policy-page-content h3 {
        font-size: 2.4vmin;
    }

    .policy-numbered-item {
        margin-left: 20px;
    }

    .policy-page-content ul,
    .policy-page-content ol {
        margin-left: 16px;
    }

    /* Mobile link styles */
    .policy-page-content a:hover {
        padding: 1px 2px;
        font-size: 2vmin;
    }

    .policy-page-content a:focus {
        outline-width: 1px;
        outline-offset: 1px;
    }
}

/* Mobile Landscape and Small Tablets (481px to 767px) */
@media only screen and (min-width: 481px) and (max-width: 767px) {
    .policy-page-container {
        padding: 20px;
    }

    .policy-page-title {
        font-size: 3.8vmin;
        margin-bottom: 14px;
    }

    .policy-page-header {
        margin-bottom: 28px;
    }

    .policy-page-content {
        font-size: 2.1vmin;
        line-height: 1.55;
    }

    .policy-page-content h1 {
        font-size: 3.3vmin;
    }

    .policy-page-content h2 {
        font-size: 2.9vmin;
    }

    .policy-page-content h3 {
        font-size: 2.5vmin;
    }

    .policy-numbered-item {
        margin-left: 28px;
    }

    .policy-page-content ul,
    .policy-page-content ol {
        margin-left: 18px;
    }

    /* Mobile landscape link styles */
    .policy-page-content a:hover {
        padding: 2px 3px;
        font-size: 2.1vmin;
    }
}

/* Tablets (768px to 1023px) */
@media only screen and (min-width: 768px) and (max-width: 1023px) {
    .policy-page-container {
        padding: 32px;
        max-width: 900px;
    }

    .policy-page-title {
        font-size: 4.2vmin;
        margin-bottom: 16px;
    }

    .policy-page-header {
        margin-bottom: 36px;
    }

    .policy-page-content {
        font-size: 2.3vmin;
        line-height: 1.6;
    }

    .policy-page-content h1 {
        font-size: 3.6vmin;
    }

    .policy-page-content h2 {
        font-size: 3.2vmin;
    }

    .policy-page-content h3 {
        font-size: 2.8vmin;
    }

    .policy-numbered-item {
        margin-left: 36px;
    }

    .policy-page-content ul,
    .policy-page-content ol {
        margin-left: 24px;
    }

    /* Tablet link styles */
    .policy-page-content a:hover {
        padding: 2px 4px;
        font-size: 2.3vmin;
    }

    .policy-page-content a:focus {
        outline-width: 2px;
        outline-offset: 2px;
    }
}

/* Desktop (1024px and up) */
@media only screen and (min-width: 1024px) {
    .policy-page-container {
        padding: 40px;
        max-width: 1200px;
    }

    .policy-page-title {
        font-size: 4.8vmin;
        margin-bottom: 20px;
    }

    .policy-page-header {
        margin-bottom: 40px;
    }

    .policy-page-content {
        font-size: 2.5vmin;
        line-height: 1.7;
    }

    .policy-page-content h1 {
        font-size: 3.8vmin;
    }

    .policy-page-content h2 {
        font-size: 3.4vmin;
    }

    .policy-page-content h3 {
        font-size: 3vmin;
    }

    .policy-numbered-item {
        margin-left: 40px;
    }

    .policy-page-content ul,
    .policy-page-content ol {
        margin-left: 28px;
    }

    /* Desktop link styles */
    .policy-page-content a:hover {
        padding: 3px 5px;
        font-size: 2.5vmin;
        border-radius: 4px;
    }

    .policy-page-content a:focus {
        outline-width: 2px;
        outline-offset: 3px;
        border-radius: 4px;
    }
}

/* Large Desktop (1200px and up) */
@media only screen and (min-width: 1200px) {
    .policy-page-container {
        padding: 48px;
    }

    .policy-page-title {
        font-size: 5.2vmin;
        margin-bottom: 24px;
    }

    .policy-page-header {
        margin-bottom: 48px;
    }

    .policy-page-content {
        font-size: 2.7vmin;
        line-height: 1.8;
    }

    .policy-page-content p {
        margin-bottom: 18px;
    }

    .policy-page-content h1 {
        font-size: 4vmin;
        margin-top: 28px;
        margin-bottom: 16px;
    }

    .policy-page-content h2 {
        font-size: 3.6vmin;
        margin-top: 26px;
        margin-bottom: 14px;
    }

    .policy-page-content h3 {
        font-size: 3.2vmin;
        margin-top: 24px;
        margin-bottom: 12px;
    }

    /* Large desktop link styles */
    .policy-page-content a:hover {
        padding: 4px 6px;
        font-size: 2.7vmin;
        border-radius: 5px;
    }

    .policy-page-content a:focus {
        outline-width: 3px;
        outline-offset: 3px;
        border-radius: 5px;
    }
}

/* Print styles */
@media print {
    .policy-page-main {
        background: white;
        color: black;
    }

    .policy-page-title {
        color: black;
    }

    .policy-page-content {
        color: black;
    }

    .policy-page-content h1,
    .policy-page-content h2,
    .policy-page-content h3,
    .policy-page-content h4 {
        color: black;
    }
}

@media screen and (min-width: 1400px) {
    .public-offer-modal-content {
        width: 50%;
        max-width: 50%;
        margin: 0 auto;
    }

    #scroll_public_offer_text {
        height: 40vmin;
        width: 100%;
        margin: 0 auto;
        max-width: 100%;
        text-align: justify;
        font-size: 1.2vmin;
    }
}
/* End of public and privacy popup css */

