@charset "utf-8";
/* Define color variables globally */
:root {
    --black: #000000;
    --white: #ffffff;
    --primary: #002AFF;
    --blue: #002AFF;
    --blue-rgb: 0, 42, 255;
    --light-blue: #cce6ff;
    --dark-blue: #034c81;
    --red: #FF0000;
    --green: #05CC47;
    --mint: #25DD85;
    --grey: #f5f5f5;
    --grey-rgb: 245, 245, 245;
    --mid-grey: #cfcfcf;  
    --slate: #40403E;
    --dark-slate: #3F414E;
    --brown: #51312a;
    --gold: #c37d16;
    --beta-color: #ffff00; /* Light yellow for beta notification */
    --main-shadow: 0 3px 2px -2px rgba(0, 0, 0, 0.1);
}

/* Base Styles - Applied to all screen sizes */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--white);
    font-family: "Geist", sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 650px;
    margin: 0 auto;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: var(--black);
}

a:hover,
a:active,
a:visited {
    text-decoration: none;
    color: var(--black);
}

/* Header Styles */
.header {
    box-sizing: border-box;
    /* border: 1px solid white; */
    width: 100%;
    height: 3.5rem;
    padding: 0.9375rem;
    background-color: var(--white);
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    max-width: 650px;
    z-index: 100;
    transition: transform 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
}

.header__back {
    width: 1.875rem;
    height: 1.875rem;
    display: flex;
    align-items: center;
    cursor: pointer;
}
.back__icon {
    height: 1.2rem;
    margin: 0;
    align-self: center;
}

.back__link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.post__title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    font-size: 1rem;
}

.post-container.no-results {
    text-align: center;
    padding: 20px;
    font-family: 'Geist', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--black);
    background-color: var(--grey);
    border-radius: 1rem;
    margin-bottom: 1rem;
}

.no-results-icon {
    display: block;
    margin: 0 auto 0 auto;
    width: 48px;
    height: 48px;
    margin-bottom: 0.5rem;
}

.no-margin {
    margin-bottom: 0rem!important;
}

.intro-msg {
    margin-bottom: 0.8rem;
    font-weight: 700 !important;
}

#settings .header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
}
#settings .header__back {
    width: 1.875rem;
    height: 1.875rem;
    display: flex;
    align-items: center;
    cursor: pointer;
}
#settings .post__title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    font-size: 1rem;
}

.header-container {
    /*max-width: 870px;*/
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.header-logo {
    width: 200px;
    height: auto;
    object-fit: contain;
}

.header-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 1rem;
}

h1 {
    font-size: 1.2rem;
    font-weight: 700;
    /*margin-bottom: 0.5rem;*/
}

h1.headers {
    font-size: 1rem !important;
    font-weight: 700 !important;
    margin-bottom: 1rem;
}

.margin_null {
    margin-bottom: 0rem!important;
}

.content {
    padding: 0.9375rem;
    margin-top: 3rem;
}

.menu-item-spacer {
    background-color: transparent;
    padding: 1rem;
    display: flex;
    align-items: center;
    width: 100%;
}

.menu-item {
    background-color: var(--grey);
    border-radius: 1rem;
    padding: 0.7rem;
    margin-bottom: 1rem;
    display: flex;
    width: 100%;
}

.menu-icon {
    width: 1.875rem;
    height: 1.875rem;
    border-radius: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 0.8rem;
}

.menu-icon-svg {
    height: 1.3rem;
    object-fit: contain;
}

.menu-text {
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--black);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.menu-item:has(.settings-description) .menu-text {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
}

.menu-label {
    color: var(--black);
    font-weight: 400;
}

.menu-label.bold {
    color: var(--black);
    font-weight: 700;
}

.settings-description {
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--black);
    line-height: 1.4;
    margin: 0;
}

.dmca-list {
    list-style-type: disc;
    padding-left: 1rem;
    margin: 1em 0;
}

.dmca-list li {
    margin-bottom: 0.5em;
    font-size: 0.9375rem;
    line-height: 1.4;
}

.post__editable ul,
.post-content ul {
    margin: 0.5rem 0;
    padding: 0;
    list-style-position: outside;
    margin-left: 0.9375rem;
    font-size: 0.9375rem;
}

.post__editable li,
.post-content li {
    margin: 0;
    padding: 0;
}

.contact-link {
    font-weight: 700;
    text-decoration: none;
    color: inherit; /* keeps the same text color as surrounding text */
}

.contact-link:hover {
    text-decoration: underline;
}

/* Toggle Switch Styles */
.cookie-section {
    margin-bottom: 1rem;
}

.header-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 1rem; /* Spacing before description */
}

.toggle-placeholder {
    width: 40px; /* Match toggle-switch width */
    height: 25px; /* Match new toggle-switch height */
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 25px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--mid-grey);
    transition: 0.4s;
    border-radius: 12px; /* Match height for rounded ends */
}

.slider:before {
    position: absolute;
    content: "";
    height: 21px; /* Slightly smaller than switch height */
    width: 21px; /* Proportional to new height */
    left: 2px;
    bottom: 2px;
    background-color: var(--white);
    transition: 0.4s;
    border-radius: 9px;
}

input:checked + .slider {
    background-color: var(--green);
}

input:checked + .slider:before {
    transform: translateX(15px); /* Adjusted for new width and knob size */
}

input:disabled + .slider {
    background-color: var(--slate);
    cursor: not-allowed;
}

/* Save Button Styles */
.save-button {
    padding: 18px 28px;
    border: none;
    border-radius: 1rem;
    cursor: pointer;
    font-size: 0.9375rem;
    font-weight: 700;
    width: 100%;
    transition: background-color 0.3s ease, color 0.3s ease, border 0.3s ease;
}


.agree-btn {
    background-color: #000000;
    border: 1px solid #000000;
    color: white;
    box-sizing: border-box;
    width: 100%;
    
}

