:root {
    /* Light theme palette */
    --bg: #eef1f6;
    /* page background */
    --panel: #ffffff;
    /* cards/panels/buttons */
    --text: #414143;
    /* primary text */
    --muted: #6b7280;
    /* secondary text */
    --accent: #2e4dd4;
    /* primary action */
    --border: #dddddd;
    /* subtle borders */
}

/* DM Mono - local font files */
@font-face {
    font-family: 'DM Mono';
    src: url('assets/DM_Mono/DMMono-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DM Mono';
    src: url('assets/DM_Mono/DMMono-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DM Mono';
    src: url('assets/DM_Mono/DMMono-Medium.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Canvas sizing: fill column width, cap height; vertical photos will fill height */
#glcanvas {
    width: 100%;
    height: auto;
    max-height: 880px;
    display: block;
    cursor: zoom-in;
    margin: 0 auto;
    /* center horizontally */
}

* {
    box-sizing: border-box;
}

/* Global button rounding */
button {
    border-radius: 6px;
}

/* Ensure form controls inherit the global font (Cutive Mono) */
button,
input,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

html,
body {
    height: 100vh;
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 14px/1.45 'DM Mono', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    letter-spacing: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

header,
footer {
    max-width: 1540px;
    margin: 16px auto;
    padding: 0 16px;
}

header h1 {
    margin: 0 0 6px;
    font-size: 20px;
}

h3 {
    font-size: 14px;
    text-transform: none;
}

header p,
.note {
    color: var(--muted);
    margin: 4px 0 0;
}

main {
    max-width: 1540px;
    margin: 20px auto;
    display: grid;
    grid-template-columns: 350px 1fr 350px;
    gap: 10px;
    padding: 0 16px;
    flex: 1;
    align-items: center;
    min-height: calc(100vh - 40px);
}

/* Responsive behavior */
@media (max-width: 1532px) {
    main {
        grid-template-columns: 310px 1fr 310px;
    }
}

@media (max-width: 1024px) {
    main {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .left,
    .center,
    .right {
        width: 100%;
    }
}

.left,
.center,
.right {
    background: var(--panel);
    border-radius: 10px;
    padding: 25px;
    min-height: 900px;
    max-height: 900px;
}

/* Center column should vertically center the canvas */
.center {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}





/* Make the right column a container for fixed positioning */
.right {
    position: relative;
    padding-bottom: 80px;
    /* space for the fixed download button (button height + 30px margin) */
}

/* Make the left column a container for fixed positioning */
.left {
    position: relative;
    padding-bottom: 80px;
    /* space for the fixed footer menu */
}

p {
    font-size: 14px;
}

.left p {
    font-size: 14px;
    line-height: 1.7;
}


#dropzone {
    border: 1px dashed #111827;
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    margin-top: 50px;
}

/* Centered icon above the first text line in the dropzone */
#dropzone .drop-icon {
    display: block;
    width: 36px;
    height: auto;
    margin: 0 auto 8px;
    opacity: 0.95;
    cursor: pointer;
}

#dropzone .drop-icon:hover {
    filter: brightness(0) saturate(100%) invert(49%) sepia(90%) saturate(3068%) hue-rotate(7deg) brightness(96%) contrast(88%);
}

.logo-icon {
    width: 120px;
    height: auto;
    vertical-align: -7px;
}

.app-description {
    margin: 20px 0;
    padding: 16px;
    background: rgba(17, 24, 39, 0.03);
    border-radius: 8px;
    border: 1px solid var(--border);
}


.app-description p {
    margin: 0 0 12px 0;
    color: var(--text);
    font-size: 14px;
    line-height: 1.7;
}

.app-description .features {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
    margin: 0;
}

.text-overlay-section {
    margin-top: 20px;
}

#fileInput {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

#chooseBtn {
    background: var(--accent);
    color: #fff;
    border: 0;
    border-radius: 6px;
    padding: 10px 14px;
    cursor: pointer;
    font-weight: 600;
}

#chooseBtn:hover {
    filter: brightness(1.08);
}

#dropzone .hint {
    color: #111827;
    margin: 8px 0 0;
    font-size: 14px;
}

/* Global link styles - all links underlined with orange hover */
a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

a:hover {
    color: #e6623c;
}

/* Inline choose link in the dropzone text */
#chooseLink {
    color: black;
    text-decoration: underline;
    cursor: pointer;
}

#chooseLink:hover {
    color: #e6623c;
}

.controls {
    margin-top: 0px;
}

/* In the right panel, stack control rows vertically */
.right .controls>.buttons {
    display: block;
}

/* Let the controls area take normal flow */
.right .controls {
    display: block;
}

.right .controls .buttons {
    display: block;
}

/* Fix download row to the bottom of the right column, 30px from bottom */
.right .controls .download-row {
    position: absolute;
    bottom: 30px;
    left: 20px;
    right: 20px;
    margin: 0;
}

/* Set download button height */
.right .controls .download-row #downloadBtn {
    height: 60px;
    border-radius: 5px;
}

/* Footer menu in left column - fixed at bottom */
.footer-menu {
    position: absolute;
    bottom: 30px;
    left: 20px;
    right: 20px;
    margin: 0;
}

.footer-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-menu li {
    margin: 0;
}

.footer-menu a {
    color: var(--text);
    text-decoration: underline;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    display: block;
}

.footer-menu a:hover {
    color: #e6623c;
}

.footer-menu .user-info {
    color: var(--text);
    font-size: 12px;
    font-weight: 500;
    display: block;
}

.footer-menu .subscription-status {
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 400;
    display: block;
}

.footer-menu .subscription-status.active {
    color: var(--accent);
    font-weight: 500;
}

.footer-menu .user-profile {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text);
}

.footer-menu .profile-pic {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border);
}

.row {
    display: grid;
    grid-template-columns: auto 1fr 56px;
    /* label | slider | output */
    gap: 10px;
    align-items: center;
    margin-bottom: 0px;
}

.row label {
    color: var(--text);
}

.row output {
    text-align: right;
    color: var(--muted);
    font-family: 'DM Mono', monospace;
    font-size: 12px;
}

/* Slider takes the middle track */
input[type="range"] {
    width: 100%;
    padding-left:25px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
}

/* Remove outlines/box-shadows from slider track/base across browsers */
input[type="range"]:focus {
    outline: none;
    box-shadow: none;
}

input[type="range"]::-webkit-slider-runnable-track {
    border: 0;
    outline: none;
    box-shadow: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    border: 0;
    outline: none;
    box-shadow: none;
}

input[type="range"]::-moz-range-track {
    border: 0;
    outline: none;
    box-shadow: none;
}

input[type="range"]::-moz-range-progress {
    border: 0;
    outline: none;
    box-shadow: none;
}

input[type="range"]::-moz-focus-outer {
    border: 0;
}

/* Slider visuals: light gray base and accent thumb/progress */
input[type="range"] {
    height: 20px;
    /* room for custom thumb */
    accent-color: var(--accent);
}

/* WebKit/Blink track */
input[type="range"]::-webkit-slider-runnable-track {
    height: 4px;
    background: var(--border);
    border-radius: 2px;
}

/* WebKit/Blink thumb */
input[type="range"]::-webkit-slider-thumb {
    width: 12px;
    height: 12px;
    background: #111111;
    border-radius: 50%;
    margin-top: -4px;
    /* center on 4px track */
}

/* Firefox track */
input[type="range"]::-moz-range-track {
    height: 4px;
    background: var(--border);
    border-radius: 2px;
}

/* Firefox filled/progress portion */
input[type="range"]::-moz-range-progress {
    height: 4px;
    background: var(--accent);
    border-radius: 2px 0 0 2px;
}

/* Firefox thumb */
input[type="range"]::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background: #000;
    border-radius: 50%;
}

/* Slider thumb hover states */
input[type="range"]::-webkit-slider-thumb:hover {
    background: #e6623c;
}

input[type="range"]::-moz-range-thumb:hover {
    background: #e6623c;
}

/* Special-case rows that only contain a button or block */
.row:has(> .primary-btn) {
    grid-template-columns: 1fr;
}

.row:has(> .link-btn) {
    grid-template-columns: 1fr;
}

.row:has(> .filter-buttons),
.row:has(> label:only-child) {
    grid-template-columns: 1fr;
}

/* Compact alignment for slider rows */
.slider-row label {
    white-space: nowrap;
}

/* Make all slider rows use the same columns so sliders have identical width */
.row.slider-row {
    grid-template-columns: 70px minmax(0, 1fr) 25px;
    /* fixed label | shared slider track | fixed output */
    column-gap: 10px;
    /* spacing between label, slider, and output */
}

.row.slider-row label {
    text-align: left;
    /* left-align all slider labels */
    font-size: 12px;
}

/* Special layout for the Amount slider: label on its own row (with top padding), slider + value in the next row */
.row.slider-row.amount-row {
    grid-template-columns: minmax(0, 1fr) 25px;
    /* slider track | value */
    column-gap: 10px;
    row-gap: 6px;
    /* space between label and controls */
}

.row.slider-row.amount-row label {
    grid-column: 1 / -1;
    /* label spans both columns */
    text-align: left;
    padding-top: 30px;
    /* requested top padding above label */
}

.row.slider-row.amount-row input[type="range"] {
    grid-column: 1 / 2;
    /* slider in first column */
    width: 100%;
}

.row.slider-row.amount-row output {
    grid-column: 2 / 3;
    /* value in second column */
    justify-self: end;
}


/* Keylines between sections */
.keyline {
    height: 1px;
    background: var(--border);
    opacity: 0.8;
    margin: 25px 0;
}

.buttons {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

/* Grouped preset structure */
.preset-groups {
    display: block;
    margin-bottom: 15px;
    margin-top: 20px;
    margin-left: -4px;
}

.preset-group {
    margin-bottom: 8px;
    padding: 5px;
    margin: -5px 0 3px 0;
}

.preset-group-header {
    display: flex;
    align-items: center;
    width: 100%;
    border: none;
    background: none;
    color: var(--text);
    text-align: left;
    padding: 4px 0;
    margin: 0;
    font-size: 14px;
    font-family: 'DM Mono', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    letter-spacing: 0;
    font-weight: 400;
    cursor: pointer;
    border-radius: 0;
    box-shadow: none;
    text-decoration: none !important;
}

.preset-group-header:hover {
    color: #e6623c;
}

.preset-group-header:focus {
    outline: none;
}

.preset-group-header:active {
    outline: none;
}

.group-arrow {
    margin-right: 8px;
    transition: transform 0.2s ease;
    display: inline-block;
    width: 10px;
    height: 10px;
    background-image: url('imgs/preset-icon.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Rotate arrow when group is expanded */
.preset-group.expanded .group-arrow {
    transform: rotate(90deg);
}

/* Change arrow color to match link hover color on hover only */
.preset-group-header:hover .group-arrow {
    filter: brightness(0) saturate(100%) invert(49%) sepia(90%) saturate(3068%) hue-rotate(7deg) brightness(96%) contrast(88%);
}

.group-title {
    flex: 1;
    border: none;
    outline: none;
    background: none;
    font-size: 14px;
}

.preset-group-content {
    padding-left: 20px;
    margin-top: 4px;
}

.preset-group-content .lut-btn {
    display: block;
    width: 100%;
    border: 0;
    background: transparent;
    color: var(--text);
    text-align: left;
    padding: 2px 0;
    margin: 0;
    font-size: 12px;
    font-family: 'DM Mono', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    font-weight: 400;
    line-height: 1.7;
    text-transform: none;
    cursor: pointer;
    border-radius: 4px;
    text-decoration: none !important;
}

.preset-group-content .lut-btn:hover {
    color: #e6623c;
}

/* Keyline around preset group when hovered or expanded */
.preset-group:hover,
.preset-group.expanded {
    box-shadow: 0 0 0 1px #e7e7eb;
    border-radius: 4px;
}


/* Legacy styles for backward compatibility - remove old icon styles */
.buttons:has(.lut-btn) {
    display: none;
    /* Hide old structure */
}

.buttons button {
    border: 0px solid var(--border);
    background: var(--panel);
    color: var(--text);
    padding: 0px;
    cursor: pointer;
}

/* Link-style button for Reset */
.link-btn {
    appearance: none;
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 16px 0 0 0;
    color: #e6623c;
    text-align: left;
    font-size: 14px;
    font-weight: 400;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.link-btn:hover {
    color: #e6623c;
}

/* Primary blue button style reused for Reset, Clear Filter, Download */
.primary-btn {
    background: var(--accent) !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 6px;
    padding: 10px 14px;
    font-weight: 600;
    cursor: pointer;
}

.primary-btn:hover {
    filter: brightness(1.08);
}

/* Download button solid black */
#downloadBtn.primary-btn {
    background: #000000 !important;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
    height: 50px;
    line-height: 50px;
    border-radius: 2px;
    padding: 0 16px;
    font-weight: 400;
    font-size: 16px;
}

#downloadBtn.primary-btn:hover {
    background: #e65029 !important;
}

/* Active state for LUT buttons */
.lut-btn.active {
    color: #e6623c !important;
}

.preset-group-content .lut-btn.active {
    color: #e6623c !important;
}

.preset-group-content .lut-btn.active:hover {
    filter: brightness(0.9);
}

/* Reset button with black outline style */
.reset-btn {
    width: 100%;
    height: 50px;
    background: transparent !important;
    color: var(--text);
    border: 1px solid #000000 !important;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
}

.reset-btn:hover {
    background: #e65029 !important;
    color: white;
    border-color: #e65029 !important;
}

/* Make primary action buttons full width in their rows */
#resetBtn,
#clearFilterBtn,
#downloadBtn {
    width: 100%;
}

/* Reset button inherits primary-btn styles via class in HTML */

.buttons button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.filter-toggle {
    border: 1px solid var(--border);
    background: var(--panel);
    color: var(--text);
    border-radius: 8px;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    min-width: 50px;
    transition: all 0.2s ease;
}

.filter-toggle:hover {
    background: #f3f4f6;
}

.filter-toggle.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

/* Filters button grid: two columns */
.filter-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 4px;
}

.filter-buttons>button {
    width: 100%;
}

.vintage-filter {
    border: 1px solid var(--border);
    background: #f3f4f6;
    color: var(--text);
    border-radius: 6px;
    padding: 4px 8px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 500;
    transition: all 0.2s ease;
    min-width: 0;
}

.vintage-filter:hover {
    background: #eaeef6;
    border-color: var(--accent);
}

.vintage-filter.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

/* Removed old special styling for vintage clear button */

.canvas-wrap {
    width: 100%;
    min-height: 360px;
    display: grid;
    place-items: center;
    background: #ffffff;
    /* pure white background */
    border: none;
    /* remove outline keyline */
    border-radius: 8px;
    cursor: zoom-in;
}

#glcanvas {
    max-width: min(820px, 100%);
    /* cap default width so landscapes don’t fill entire column */
    width: auto;
    /* let height constraints drive width */
    height: auto;
    max-height: 860px;
    /* clamp tall images; allow side letterboxing */
    display: block;
    cursor: zoom-in;
    /* default magnifying glass on hover */
}

/* When zoomed, let the canvas take the full width of the center column */
#glcanvas.zoomed {
    height: 100%;
    /* fill column height when zoomed */
    max-width: 100%;
    /* remove width constraints when zoomed */
    max-height: 100%;
    /* remove height constraints when zoomed */
    cursor: zoom-out;
    /* switch to zoom-out cursor when zoomed */
}

/* Demo navigation controls */
.demo-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border-radius: 5px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-family: 'DM Mono', monospace;
    width: 75%;
    z-index: 11;
}

.demo-author {
    font-size: 14px;
    color: white;
}

.demo-pagination {
    display: flex;
    align-items: center;
    gap: 2px;
}

.demo-arrow {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 4px;
}

.demo-arrow img {
    width: 10px;
    height: 10px;
    filter: brightness(0) saturate(100%) invert(100%);
    transition: filter 0.2s ease;
}

.demo-arrow-left {
    transform: rotate(180deg);
}

.demo-arrow:hover {
    transform: scale(1.1);
}

.demo-arrow:hover img {
    filter: brightness(0) saturate(100%) invert(46%) sepia(95%) saturate(1745%) hue-rotate(346deg) brightness(95%) contrast(91%);
}

.demo-arrow:disabled {
    cursor: not-allowed;
    transform: none;
}

.demo-arrow:disabled img {
    filter: brightness(0) saturate(100%) invert(100%) opacity(0.4);
}

.demo-counter {
    font-size: 14px;
    color: white;
    min-width: 50px;
    text-align: center;
}

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

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

/* Privacy modal wider */
#privacyModal .modal-content {
    max-width: 620px;
}

.modal-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 20px;
}

#signupModal .modal-header,
#loginModal .modal-header,
#forgotPasswordModal .modal-header {
    justify-content: space-between;
}

.modal-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
}

.modal-close {
    background: transparent;
    border: none;
    font-size: 26px !important;
    cursor: pointer;
    color: #000000;
    margin: -5px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: #e6623c;
}

.modal-body {
    color: var(--text);
    line-height: 1.7;
}

/* Authentication Forms */
.auth-form {
    width: 100%;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg-secondary);
    color: var(--text);
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.auth-btn {
    width: 100%;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.auth-btn.primary {
    background: #000000 !important;
    color: white;
    height: 60px;
    line-height: 60px;
    padding: 0 16px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
    margin-top: 30px;
}

.auth-btn.primary:hover {
    background: #e65029 !important;
    transform: none;
}

.auth-btn.primary:active {
    transform: none;
}

.auth-links {
    margin-top: 1.5rem;
    text-align: center;
}

.auth-links p {
    margin: 0.5rem 0;
    font-size: 13px;
    color: var(--text-muted);
}

.auth-links a {
    color: var(--text);
    text-decoration: underline;
}

.auth-links a:hover {
    color: #e6623c;
}

/* Watermark Upgrade Hint Subscribe Link */
#upgrade-hint .hint-text a {
    color: white;
}

#upgrade-hint .hint-text a:hover {
    color: #e6623c;
}

/* Subscription Plans */
.subscription-plans {
    max-width: 400px;
    margin: 0 auto;
}

.plan-card {
    border: none;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    background: var(--bg-secondary);
    text-align: center;
}


.plan-header h3 {
    margin: 0 0 1rem 0;
    font-size: 21px;
    color: var(--text);
    letter-spacing: 0;
}

.price {
    margin-bottom: 10px;
}

.price .currency {
    font-size: 18px;
    color: var(--text-muted);
}

.price .amount {
    font-size: 36px;
    font-weight: 700;
    color: var(--text);
}

.price .period {
    font-size: 16px;
    color: var(--text-muted);
}

.plan-features ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.plan-features li {
    padding: 0.5rem 0;
    font-size: 16px;
    color: var(--text);
}

.plan-features li::before {
    content: "✓";
    color: #e6623c;
    font-weight: bold;
    margin-right: 8px;
}

.plan-features li {
    list-style: none;
    padding-left: 0;
}

.subscribe-btn {
    margin-top: 1rem;
    background: #000000 !important;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
    height: 60px;
    margin-bottom: 10px;
    line-height: 60px;
    border-radius: 5px;
    padding: 0 16px;
    font-weight: 400;
    font-size: 16px;
    border: none;
    color: white;
}

.subscribe-btn:hover {
    background: #e65029 !important;
}

.billing-note {
    font-size: 14px;
    color: var(--muted);
    margin: -25px 0 0 0;
}

.payment-security {
    font-size: 14px !important;
}

.free-trial {
    text-align: center;
    padding: 1rem;
    background: var(--bg-tertiary, rgba(99, 102, 241, 0.05));
    border-radius: 8px;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.free-trial p {
    margin: 0;
    font-size: 14px;
    color: var(--text);
}

/* Social Login Styles */
.social-login {
    margin-bottom: 30px;
    margin-top: 50px;
}

.google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    height: 60px;
    padding: 0 24px;
    border: 1px solid #111827;
    border-radius: 8px;
    background: white;
    color: #3c4043;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.google-btn:hover {
    background: #f8f9fa;
    border-color: #c1c7cd;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.google-btn:active {
    background: #f1f3f4;
}

.google-icon {
    flex-shrink: 0;
}

.auth-divider {
    position: relative;
    text-align: center;
    margin: 1.5rem 0;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border);
}

.auth-divider span {
    background: #ffffff;
    padding: 0 1rem;
    color: var(--text-muted);
    font-size: 14px;
    position: relative;
}

/* Forgot Password Success Message */
.reset-success {
    text-align: center;
    padding: 2rem 0;
}

.reset-success h3 {
    margin: 0 0 1rem 0;
    font-size: 18px;
    color: var(--text);
}

.reset-success p {
    margin: 0 0 2rem 0;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text);
}

/* Info Modals (Privacy, Contact, Newsletter) */
.info-modal-content {
    text-align: center;
    max-width: 520px;
    margin: 0 auto;
}

.info-modal-content h2 {
    margin: 0 0 1.5rem 0;
    font-size: 21px;
    color: #e6623c;
    letter-spacing: 0;
}

.info-modal-content h1 {
    text-align: left;
}

.info-modal-content h3 {
    margin: 2rem 0 1rem 0;
    text-align: left;
}

.info-modal-content p {
    margin: 0 0 1rem 0;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text);
    text-align: left;
}

.info-modal-content p:last-child {
    margin-bottom: 0;
}

.info-modal-content ul {
    text-align: left;
    margin: 0 0 1rem 0;
    padding-left: 20px;
}

.info-modal-content li {
    margin: 0 0 0.5rem 0;
    line-height: 1.7;
    color: var(--text);
}

/* Contact modal center aligned */
#contactModal .info-modal-content {
    text-align: center;
}

#contactModal .info-modal-content h1 {
    text-align: center;
}

#contactModal .info-modal-content p {
    text-align: center;
}

#contactModal .info-modal-content h3 {
    text-align: center;
}

/* Newsletter Form */
.newsletter-form {
    margin: 2rem 0;
    text-align: center;
}

.newsletter-form .form-group {
    margin-bottom: 1rem;
}

.newsletter-form input {
    width: 100%;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg-secondary);
    color: var(--text);
    font-size: 16px;
    font-family: inherit;
    text-align: center;
    transition: border-color 0.2s ease;
}

.newsletter-form input:focus {
    outline: none;
    border-color: #e6623c;
    box-shadow: 0 0 0 3px rgba(230, 98, 60, 0.1);
}

.newsletter-btn {
    margin-top: 0.5rem;
}

/* Newsletter Success Message */
.newsletter-success {
    text-align: center;
    padding: 2rem 0;
}

.newsletter-success h3 {
    margin: 0 0 1rem 0;
    font-size: 18px;
    color: var(--text);
    text-align: center;
}

.newsletter-success p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text);
    text-align: center;
}