:root {
    --clr-blue: #1A91F0;
    --clr-blue-mid: #1170CD;
    --clr-blue-dark: #1A1C6A;
    --clr-white: #fff;
    --clr-bright: #EFF2F9;
    --clr-dark: #1e2532;
    --clr-black: #000;
    --clr-grey: #656e83;
    --clr-green: #084C41;

    --transition: all 300ms ease-in-out;
}



#about-sc button {
    border: none;
    outline: 0;
    cursor: pointer;
    font-family: inherit;
}

#about-sc img {
    width: 100%;
    display: block;
}

#about-sc a {
    text-decoration: none;
}

/* fonts */


/* text colors */
.text-blue {
    color: var(--clr-blue);
}

.text-blue-mid {
    color: var(--clr-blue-mid);
}

.text-blue-dark {
    color: var(--clr-blue-dark);
}

.text-bright {
    color: var(--clr-bright);
}

.text-dark {
    color: var(--clr-dark);
}

.text-grey {
    color: var(--clr-grey);
}

.text-white {
    color: var(--clr-white);
}

/* backgrounds */
.bg-blue {
    background-color: var(--clr-blue);
}

.bg-blue-mid {
    background-color: var(--clr-blue-mid);
}

.bg-blue-dark {
    background-color: var(--clr-blue-dark);
}

.bg-bright {
    background-color: var(--clr-bright);
}

.bg-dark {
    background-color: var(--clr-dark);
}

.bg-grey {
    background-color: var(--clr-grey);
}

.bg-white {
    background-color: var(--clr-white);
}

.bg-black {
    background-color: var(--clr-black);
}

.bg-green {
    background-color: var(--clr-green);
}

.bg-yupekchi {
    background-color: #013177;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-uppercase {
    text-transform: uppercase;
}

.text-lowercase {
    text-transform: lowercase;
}

.text-capitalize {
    text-transform: capitalize;
}

.text {
    color: var(--clr-dark);
    opacity: 0.9;
    margin: 2rem 0;
    line-height: 1.6;
}

.fw-2 {
    font-weight: 200;
}

.fw-3 {
    font-weight: 300;
}

.fw-4 {
    font-weight: 400;
}

.fw-5 {
    font-weight: 500;
}

.fw-6 {
    font-weight: 600;
}

.fw-7 {
    font-weight: 700;
}

.fw-8 {
    font-weight: 800;
}

.fs-13 {
    font-size: 13px;
}

.fs-14 {
    font-size: 14px;
}

.fs-15 {
    font-size: 15px;
}

.fs-16 {
    font-size: 16px;
}

.fs-17 {
    font-size: 17px;
}

.fs-18 {
    font-size: 18px;
}

.fs-19 {
    font-size: 19px;
}

.fs-20 {
    font-size: 20px;
}

.fs-21 {
    font-size: 21px;
}

.fs-22 {
    font-size: 22px;
}

.fs-23 {
    font-size: 23px;
}

.fs-24 {
    font-size: 24px;
}

.fs-25 {
    font-size: 25px;
}

.ls-1 {
    letter-spacing: 1px;
}

.ls-2 {
    letter-spacing: 2px;
}



/* bars button */
.bars {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 16.5px;
    width: 25px;
}

.bars .bar {
    width: 100%;
    height: 2px;
    background-color: var(--clr-blue);
    transition: var(--transition);
}

.bars:hover .bar {
    background-color: var(--clr-dark);
}

/* buttons */
.btn {

    font-weight: 600;
    padding: 1.4rem 1.6rem;
    border-radius: 4px;
    display: inline-block;
}

.btn-primary {
    background-color: var(--clr-blue);
    color: var(--clr-white);
    border: 1px solid var(--clr-blue);
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--clr-dark);
    border-color: var(--clr-grey);
}

.btn-secondary {
    background-color: transparent;
    color: var(--clr-dark);
    border: 1px solid var(--clr-grey);
    transition: var(--transition);
}

.btn-secondary:hover {
    background-color: var(--clr-blue);
    color: var(--clr-white);
    border-color: var(--clr-blue);
}

.btn-group button:first-child,
.btn-group a:first-child {
    margin-right: 1rem !important;
}

/* navbar part */



.cv-form-row-title {
    background-color: #013177;
    padding: 0.8rem 1.6rem;
    margin-bottom: 2rem;
}

.cv-form-row-title h3 {
    color: var(--clr-white);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 1.7rem;
}

.cv-form-blk {
    margin: 3rem 0;
}

.cv-form-row {
    padding: 3rem 2rem 0 2rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    margin-bottom: 1rem;
    position: relative;
}

textarea {
    resize: none;
}

.form-elem {
    margin-bottom: 3rem;
    position: relative;
}

.form-label {
    display: block;
    font-weight: 600;

    color: var(--clr-dark);
    margin-bottom: 0.5rem;
}

.form-control {
    border-radius: none;
    border: 1px solid rgba(0, 0, 0, 0.1);

    padding: 0.8rem 1.6rem;
    font-family: inherit;
    width: 100%;
    outline: 0;
    transition: var(--transition);
}

.form-control:focus {
    border-color: rgba(0, 0, 0, 0.3);
}

.form-text {
    color: #ca0b00;
    font-size: 12px;
    position: absolute;
    letter-spacing: 0.5px;
    top: calc(100% + 2px);
    left: 0;
    width: 100%;
}

.cols-3,
.cols-2 {
    display: grid;
}

.repeater-add-btn {
    width: 45px;
    height: 45px;
    background-color: var(--clr-green);
    font-size: 2rem;
    line-height: 1;
    color: var(--clr-white);
    margin: 1.5rem auto;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(8, 76, 65, 0.3);
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.repeater-add-btn:hover {
    background-color: #0b6d5c;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 15px rgba(8, 76, 65, 0.4);
}

.repeater-add-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 5px rgba(8, 76, 65, 0.3);
}

.repeater-remove-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 999;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #fff;
    color: #ef4444;
    font-size: 1.8rem;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
    border: 1px solid #ef4444;
    transition: var(--transition);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    padding-bottom: 4px;
    /* Slight adjustment for visual center */
}

.repeater-remove-btn:hover {
    background-color: #ef4444;
    color: #fff;
    transform: rotate(90deg);
    box-shadow: 0 4px 8px rgba(239, 68, 68, 0.3);
}

/* ============================
   RESUME PREVIEW / PDF STYLES
   ============================ */

#resume-container,
#resume-container * {
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

#resume-container {
    width: 794px;
    min-height: 1123px;
    margin: 0 auto;
    background: #FFFFFF;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    padding: 48px 56px 40px;
    position: relative;
    color: #2D2D2D;
}

/* ---- HEADER ---- */
.resume-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0;
    padding-bottom: 14px;
    border-bottom: 2.5px solid var(--clr-blue);
}

.resume-header-info {
    flex: 1;
    min-width: 0;
}

.resume-name {
    font-size: 30px;
    font-weight: 700;
    color: var(--clr-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.1;
    margin-bottom: 6px;
}

.resume-profession {
    font-size: 11.5px;
    font-weight: 500;
    color: #666666;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.resume-photo {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    margin-left: 20px;
    border: 2.5px solid var(--clr-blue);
}

.resume-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.resume-photo img[src=""],
.resume-photo img:not([src]) {
    display: none;
}

/* Hide photo circle when no image is set */
.resume-photo:has(img[src=""]),
.resume-photo:has(img:not([src])) {
    display: none;
}

/* ---- CONTACT BAR ---- */
.resume-contact-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 0;
    font-size: 10px;
    line-height: 1.7;
    color: #2D2D2D;
    padding: 12px 0;
    margin-bottom: 10px;
}

.contact-item {
    word-break: break-word;
}

.contact-item[style*="display: none"],
.contact-item:empty {
    display: none !important;
}

/* Override safeSet's display:block to keep items inline in the flex row */
.contact-item[style*="display: block"] {
    display: inline-flex !important;
    align-items: center;
}

/* Pipe separator between contact items — managed via .has-separator class by JS */
.contact-item.has-separator::before {
    content: "|";
    margin: 0 10px;
    color: #BBBBBB;
    font-weight: 300;
    font-size: 11px;
    line-height: 1;
}

.contact-item strong {
    font-weight: 600;
    color: #444;
    margin-right: 3px;
}

/* ---- SECTIONS ---- */
.resume-section {
    margin-bottom: 22px;
}

.resume-section-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #013177;
    margin: 0 0 8px 0;
    padding: 0 0 8px 0;
    line-height: 1.4;
    border-bottom: 1px solid #E0E0E0;
}

.resume-section-content {
    font-size: 10.5px;
    line-height: 1.6;
    color: #2D2D2D;
    padding-top: 2px;
}

/* ---- INFO GRID (personal info / additional info) ---- */
.resume-info-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 3px 0;
}

.info-item {
    font-size: 10.5px;
    line-height: 1.6;
    color: #2D2D2D;
    word-break: break-word;
    width: 50%;
}

.info-item strong {
    font-weight: 600;
    color: #555;
    margin-right: 2px;
}

.info-item[style*="display: none"],
.info-item:empty {
    display: none !important;
}

/* ---- LANGUAGES + SKILLS TWO-COLUMN ---- */
.resume-two-col {
    display: flex;
    gap: 32px;
    margin-bottom: 22px;
}

.resume-section-half {
    flex: 1;
    min-width: 0;
    margin-bottom: 0;
}

/* ---- CONTENT ITEMS (education, experience, courses) ---- */
.resume-section-content .preview-item {
    margin-bottom: 8px;
    padding: 0 0 7px 0;
    border-bottom: 1px solid #F0F0F0;
    font-size: 10.5px;
    line-height: 1.6;
    color: #2D2D2D;
}

.resume-section-content .preview-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Generic list items (languages, skills, strengths, etc.) */
.resume-section-content .preview-item .preview-item-val {
    font-size: 10.5px;
    line-height: 1.6;
    display: block;
    color: #2D2D2D;
}

/* ---- EDUCATION / EXPERIENCE ITEM HEADER ---- */
.preview-item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 3px;
}

.preview-item-header strong {
    font-size: 11px;
    font-weight: 700;
    color: #1A1A1A;
    flex: 1;
    padding: 0 6px 0 0;
}

.preview-item-details {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: #555;
    margin-bottom: 2px;
    line-height: 1.6;
}

.preview-item-details strong {
    font-weight: 600;
    color: #444;
    margin-right: 2px;
}

.detail-left {
    flex: 1;
    padding-right: 10px;
}

.detail-right {
    flex-shrink: 0;
    padding-left: 10px;
    text-align: right;
}

.preview-item > div {
    margin-bottom: 2px;
    font-size: 10px;
    color: #555;
}

.preview-item > div:last-child {
    margin-bottom: 0;
}

.preview-item > div strong {
    font-weight: 600;
    color: #444;
    margin-right: 2px;
}

/* ---- RESPONSIVE ---- */
@media screen and (max-width: 850px) {
    .preview-blk-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    #resume-container {
        min-width: 794px;
    }
}

@media screen and (min-width: 768px) {
    .cols-3 {
        grid-template-columns: repeat(3, 1fr);
        column-gap: 2rem;
    }

    .cols-2 {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 2rem;
    }
}

@media screen and (min-width: 992px) {
    .cv-form-row {
        padding: 2rem 2rem 0rem 2rem;
    }

    .cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Enhanced save button */
.print-btn {
    background-color: #084C41;
    color: white;
    padding: 1.6rem 2.2rem;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.print-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0.1),
            rgba(255, 255, 255, 0.3),
            rgba(255, 255, 255, 0.1));
    transition: all 0.5s ease;
}

.print-btn:hover {
    background-color: #0b6d5c;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

.print-btn:hover::before {
    left: 100%;
}

.print-btn:active {
    transform: translateY(0);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

.print-btn-sc {
    padding: 3rem 0;
    text-align: center;
}

/* print section */
@media print {
    .print_area {
        font-size: 1.4em;
    }

    body * {
        visibility: hidden;
    }

    .non_print_area {
        display: none;
    }

    .print_area,
    .print_area * {
        visibility: visible;
    }

    .print_area {
        width: 100%;
        position: absolute;
        left: 0;
        top: 0;
        overflow: hidden;
    }
}


/* Date input styling */
input[type="date"] {
    position: relative;
    padding-right: 35px;

}

input[type="date"]::-webkit-calendar-picker-indicator {
    background: transparent;
    color: transparent;
    cursor: pointer;
    height: 100%;
    left: 0;
    position: absolute;
    right: 0;
    width: 100%;
}

input[type="date"]::-webkit-datetime-edit-text {
    color: #2c3e50;
    padding: 0 0.3em;
}

input[type="date"]::-webkit-datetime-edit-month-field,
input[type="date"]::-webkit-datetime-edit-day-field,
input[type="date"]::-webkit-datetime-edit-year-field {
    color: #2c3e50;
    padding: 0 0.3em;
}

input[type="date"]::-webkit-inner-spin-button {
    display: none;
}

input[type="date"]::-webkit-clear-button {
    font-size: 14px;
    margin-right: 5px;
}

/* Turkmen date format specific styles */
input[type="date"][lang="tk"] {
    padding-left: 1.6rem;
}

input[type="date"][lang="tk"]:before {
    content: attr(placeholder);
    position: absolute;
    color: #999;
    left: 1.6rem;
    pointer-events: none;
}

input[type="date"][lang="tk"]:focus:before,
input[type="date"][lang="tk"]:valid:before {
    display: none;
}

input[type="date"][lang="tk"]:focus {
    border-color: var(--clr-blue);
    box-shadow: 0 0 0 2px rgba(26, 145, 240, 0.2);
}

input[type="date"][lang="tk"]:invalid {
    border-color: #ca0b00;
}

input[type="date"][lang="tk"]:valid {
    border-color: #084C41;
}

/* Notification system styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    max-width: 350px;
    padding: 15px 20px;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    font-size: 14px;
    font-weight: 500;
    display: none;
    animation: slideIn 0.3s ease-out forwards;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification.info {
    background-color: #1A91F0;
    color: white;
    border-left: 5px solid #1170CD;
}

.notification.success {
    background-color: #4CAF50;
    color: white;
    border-left: 5px solid #388E3C;
}

.notification.error {
    background-color: #F44336;
    color: white;
    border-left: 5px solid #D32F2F;
}

.notification.warning {
    background-color: #FFC107;
    color: #333;
    border-left: 5px solid #FFA000;
}

/* Save options button styles */
.save-options-dropdown {
    position: relative;
    display: inline-block;
    margin-left: 10px;
}

.save-options-btn {
    background-color: var(--clr-green);
    color: white;
    padding: 1.4rem 1.6rem;
    border-radius: 4px;
    display: inline-block;
    font-size: 14.5px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.save-options-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #f9f9f9;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 4px;
}

.save-options-content a {
    color: var(--clr-dark);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    transition: var(--transition);
}

.save-options-content a:hover {
    background-color: #f1f1f1;
    color: var(--clr-blue);
}

.save-options-dropdown:hover .save-options-content {
    display: block;
}

.save-options-dropdown:hover .save-options-btn {
    background-color: #084C41;
}

/* Loading indicator */
.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Admin option in the dropdown */
.admin-option {
    border-top: 1px dashed #ccc !important;
    margin-top: 8px;
    padding-top: 12px !important;
    color: #777 !important;
    font-style: italic;
}

.admin-option:hover {
    color: var(--clr-blue-dark) !important;
}

/* Save actions container */
.save-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

@media (max-width: 576px) {
    .save-actions {
        flex-direction: column;
    }

    .save-options-dropdown {
        margin-left: 0;
        margin-top: 10px;
    }
}

/* Admin link */
.admin-link-container {
    margin-top: 15px;
    font-size: 12px;
}

.admin-link {
    color: #999;
    text-decoration: none;
    font-style: italic;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.admin-link:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    width: 80%;
    max-width: 800px;
    max-height: 85vh;
    overflow-y: auto;
}

.modal h3 {
    color: #084C41;
    margin-top: 0;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.code-block {
    background-color: #f5f5f5;
    padding: 15px;
    border-radius: 4px;
    overflow-x: auto;
    font-family: monospace;
    margin: 15px 0;
    white-space: pre-wrap;
    font-size: 13px;
}

.setup-form {
    margin: 20px 0;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 4px;
}

.setup-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.setup-form input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 15px;
    font-family: monospace;
}

.setup-form button,
.close-modal-btn {
    background-color: #084C41;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
}

.setup-form button:hover,
.close-modal-btn:hover {
    background-color: #0b6d5c;
}

.close-modal-btn {
    margin-top: 15px;
}

.setup-instructions {
    margin: 15px 0;
    font-size: 14px;
    line-height: 1.5;
}

.setup-instructions ol {
    padding-left: 25px;
    margin-top: 10px;
}

/* Datepicker customization for Turkmen */
.ui-datepicker {
    font-family: var(--font-poppins);
    width: 280px;
    padding: 10px;
    font-size: 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    border: 1px solid #ddd;
}

.ui-datepicker .ui-datepicker-header {
    background-color: var(--clr-blue);
    color: white;
    border: none;
    border-radius: 4px;
    margin-bottom: 8px;
}

.ui-datepicker .ui-datepicker-title {
    font-weight: 600;
    color: white;
}

.ui-datepicker th {
    font-weight: 600;
    color: var(--clr-dark);
}

.ui-datepicker .ui-state-default {
    background: transparent;
    border: 1px solid transparent;
    text-align: center;
    border-radius: 50%;
}

.ui-datepicker .ui-state-default:hover {
    background-color: #f0f0f0;
    border-color: #e0e0e0;
}

.ui-datepicker .ui-state-active {
    background-color: var(--clr-blue);
    color: white;
    border-color: var(--clr-blue);
}

.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
    cursor: pointer;
    color: white;
}

.ui-datepicker .ui-datepicker-prev span,
.ui-datepicker .ui-datepicker-next span {
    color: white;
}

.ui-datepicker .ui-datepicker-buttonpane {
    border-top: 1px solid #ddd;
    padding-top: 8px;
}

.ui-datepicker .ui-datepicker-buttonpane button {
    background: var(--clr-blue);
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    margin: 0 4px;
}

.ui-datepicker .ui-datepicker-buttonpane button:hover {
    background: var(--clr-blue-dark);
}

/* Fix for special Turkmen characters in datepicker */
.ui-datepicker,
.ui-datepicker-title,
.ui-datepicker th,
.ui-datepicker td,
.ui-datepicker-buttonpane button {
    font-family: var(--font-poppins), 'Segoe UI', Arial, sans-serif;
}

/* Make sure the date input formatted replacements look consistent with other form fields */
input[type="text"].form-control {
    font-size: 15px;
    display: block;
    width: 100%;
    padding: 0.5rem 0.75rem;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 0.25rem;
    outline: none;
}

input[type="text"].form-control:focus {
    border-color: var(--clr-blue);
    box-shadow: 0 0 0 3px rgba(1, 49, 119, 0.15);
}

/* Hide the clear button in the native date inputs that might still be visible */
input[type="date"]::-webkit-clear-button {
    display: none;
}

/* Google Sheets Integration Styles */
.admin-link {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: #ccc;
    font-size: 12px;
    cursor: pointer;
    z-index: 1000;
}

.admin-link:hover {
    color: #666;
}

#admin-setup-modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 5px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
}

.close-btn {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-btn:hover {
    color: black;
}

.modal-body {
    margin-bottom: 20px;
}

.code-block {
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    margin: 10px 0;
    overflow-x: auto;
    font-family: monospace;
    white-space: pre-wrap;
}

.copy-btn {
    background-color: #4CAF50;
    color: white;
    padding: 5px 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 10px;
}

.copy-btn:hover {
    background-color: #45a049;
}

.input-group {
    margin: 15px 0;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.input-group input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
}

.modal-footer button {
    padding: 8px 16px;
    margin-left: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.save-btn {
    background-color: #4CAF50;
    color: white;
}

.save-btn:hover {
    background-color: #45a049;
}

.cancel-btn {
    background-color: #f44336;
    color: white;
}

.cancel-btn:hover {
    background-color: #d32f2f;
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px;
    border-radius: 4px;
    color: white;
    font-size: 14px;
    z-index: 1002;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.notification.success {
    background-color: #4CAF50;
}

.notification.error {
    background-color: #f44336;
}

.notification.info {
    background-color: #2196F3;
}

.notification.warning {
    background-color: #ff9800;
}

/* Print Styles */
@media print {

    .admin-link,
    #admin-setup-modal,
    .notification {
        display: none !important;
    }
}