/* Cozy Editorial Style System for My Final Message */

:root {
    --bg-main: #F2EBE1;          /* Cozy Warm Sand Background */
    --bg-card: #FFFFFF;          /* Clean White Card Background */
    --bg-accent: #FFEBD6;        /* Pale Peach Beige (from Wix prototype) */
    --text-main: #2C2621;        /* Rich Charcoal Brown Text */
    --text-dim: #605349;         /* Muted Earth Tone Text */
    --color-border: #2C2621;     /* Charcoal Border Line */
    --color-accent: #8C6239;     /* Copper Brown Button Color */
    --color-copper: #8C6239;     /* Warm Copper Accent */
    --color-accent-hover: #5A3F24;
    --font-heading: 'Lora', Georgia, serif;
    --font-body: 'Outfit', 'Inter', sans-serif;
    --border-radius: 4px;
}

/* Basic Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-main);
    background-image: url('/frontend/assets/beige_wave_bg.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Service Card & Hero Prototype Image Sizing */
.hero-grandfather-img {
    max-width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: var(--border-radius);
    border: 2px solid var(--color-border);
}

.journey-family-img {
    max-width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: var(--border-radius);
    border: 2px solid var(--color-border);
}

.service-image-box {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
}

.service-icon-img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.email-icon-invert {
    filter: invert(1) brightness(2); /* Make the black checkmark icon white for the dark service card background */
}

/* Serif Typography Utility */
.serif-title {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--text-main);
}

.bold-text {
    font-weight: 600;
}

/* ==================== LAYOUT ==================== */

.main-header {
    background-color: var(--bg-card);
    border-bottom: 2px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.language-menu {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--text-dim);
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: var(--border-radius);
    background: #FAF8F5;
    padding: 5px 6px;
    width: 68px;
    flex-shrink: 0;
}

.language-menu select {
    border: none;
    background: transparent;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    outline: none;
    width: 100%;
    cursor: pointer;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 24px;
    color: var(--color-accent);
}

.logo-icon-sub {
    font-size: 16px;
    color: var(--text-dim);
    margin-left: 2px;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    gap: 25px;
}

.nav-link {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    padding: 5px 0;
    position: relative;
    transition: color 0.2s;
}

.nav-link:hover, .nav-link.active {
    color: var(--color-accent);
}

.nav-link.active::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-accent);
    position: absolute;
    bottom: -15px;
    left: 0;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-email {
    font-size: 13px;
    color: var(--text-dim);
    background-color: var(--bg-main);
    padding: 5px 10px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0,0,0,0.1);
}

.view-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 15px 60px;
}

/* ==================== BUTTONS ==================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
    cursor: pointer;
    transition: all 0.2s;
}

.btn-copper {
    background-color: var(--color-accent);
    color: #FFFFFF;
    border-color: var(--color-accent);
}

.btn-copper:hover {
    background-color: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
}

.btn-charcoal {
    background-color: #333333;
    color: #FFFFFF;
    border-color: #333333;
}

.btn-charcoal:hover {
    background-color: #555555;
    border-color: #555555;
}

.btn-border-card {
    background-color: var(--bg-accent);
    color: var(--text-main);
    border: 2px solid var(--color-border);
}

.btn-border-card:hover {
    background-color: var(--bg-card);
}

.btn-logout {
    background-color: transparent;
    border: 1px solid var(--color-border);
    color: var(--text-main);
    padding: 6px 12px;
    font-size: 13px;
}

.btn-logout:hover {
    background-color: #F8F4EE;
}

.btn-large {
    padding: 14px 28px;
    font-size: 16px;
}

.btn-block {
    display: flex;
    width: 100%;
}

/* ==================== APP VIEWS ==================== */

.app-view {
    display: none;
    animation: fadeIn 0.4s ease;
}

.app-view.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==================== 1. LANDING PAGE ==================== */

.hero-section {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    background-color: var(--bg-card);
    border: 2px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 45px;
    margin-bottom: 25px;
}

.hero-content h1 {
    font-size: 64px;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero-desc {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 25px;
}

.hero-bullet-points {
    margin-bottom: 25px;
    padding-left: 10px;
}

.hero-bullet-points ul {
    margin-top: 8px;
    padding-left: 20px;
}

.hero-bullet-points li {
    margin-bottom: 5px;
}

.hero-footer-text {
    font-size: 15px;
    margin-bottom: 25px;
    line-height: 1.6;
}

.hero-lifetime {
    font-size: 15px;
    margin-bottom: 30px;
    line-height: 1.4;
}

.hero-media {
    display: flex;
    justify-content: center;
    align-items: center;
}

.prototype-img {
    max-width: 100%;
    height: auto;
    border-radius: 2px;
    border: 1px solid var(--color-border);
}

.notice-banner {
    background-color: var(--bg-card);
    border: 2px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 25px;
    margin-bottom: 25px;
}

.notice-banner h3 {
    font-family: var(--font-heading);
    margin-bottom: 10px;
    color: var(--color-accent);
}

.notice-banner p {
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-dim);
}

.services-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.service-card {
    background-color: #1A1715; /* Dark background from Wix mockup */
    color: #F9F7F5;
    border: 2px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 35px 25px;
    text-align: center;
}

.service-icon-box {
    font-size: 32px;
    color: var(--bg-accent);
    margin-bottom: 15px;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 13px;
    color: #D3C9C1;
    line-height: 1.6;
}

.seo-intent-section {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    align-items: stretch;
    background-color: var(--bg-card);
    border: 2px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 40px;
    margin-bottom: 25px;
}

.section-kicker {
    color: var(--color-accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.seo-intent-copy h2 {
    font-size: 34px;
    line-height: 1.18;
    margin-bottom: 18px;
}

.seo-intent-copy p {
    color: var(--text-dim);
    font-size: 15px;
    margin-bottom: 14px;
}

.quick-facts-panel {
    background-color: #1A1715;
    border: 2px solid var(--color-border);
    border-radius: var(--border-radius);
    color: #F9F7F5;
    padding: 28px;
}

.quick-facts-panel h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    margin-bottom: 18px;
}

.quick-facts-panel dl {
    display: grid;
    gap: 14px;
}

.quick-facts-panel dt {
    color: var(--bg-accent);
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 3px;
    text-transform: uppercase;
}

.quick-facts-panel dd {
    color: #D3C9C1;
    font-size: 13px;
    line-height: 1.55;
}

.how-it-works-section,
.faq-section {
    background-color: var(--bg-card);
    border: 2px solid var(--color-border);
    border-radius: var(--border-radius);
    margin-bottom: 25px;
    padding: 42px 34px;
    text-align: center;
}

.steps-grid,
.faq-grid {
    display: grid;
    gap: 18px;
    margin-top: 28px;
}

.steps-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.step-card,
.faq-grid article {
    background-color: #FAF8F5;
    border: 1px solid rgba(44, 38, 33, 0.26);
    border-radius: var(--border-radius);
    padding: 22px;
    text-align: left;
}

.step-number {
    align-items: center;
    background-color: var(--color-accent);
    border-radius: 50%;
    color: #FFFFFF;
    display: inline-flex;
    font-weight: 800;
    height: 32px;
    justify-content: center;
    margin-bottom: 14px;
    width: 32px;
}

.step-card h3,
.faq-grid h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    margin-bottom: 10px;
}

.step-card p,
.faq-grid p {
    color: var(--text-dim);
    font-size: 13.5px;
    line-height: 1.55;
}

.faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.journey-section {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
    background-color: var(--bg-card);
    border: 2px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 45px;
    margin-bottom: 25px;
}

.serif-subtitle {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--color-accent);
    margin-bottom: 20px;
    font-size: 20px;
}

.journey-desc {
    margin-bottom: 15px;
    font-size: 14px;
}

.journey-quote {
    border-left: 3px solid var(--color-accent);
    padding-left: 15px;
    font-style: italic;
    color: var(--text-dim);
    margin-top: 20px;
    font-size: 14px;
}

.quote-privacy-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

.quote-block {
    background-color: #1A1715;
    color: #F9F7F5;
    border: 2px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.quote-block h2 {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 26px;
    line-height: 1.3;
    margin-bottom: 15px;
}

.quote-block p {
    color: var(--bg-accent);
}

.privacy-block {
    background-color: var(--bg-card);
    border: 2px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.privacy-block h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

/* ==================== 2. AUTH VIEW ==================== */

.auth-container {
    max-width: 450px;
    margin: 50px auto;
}

.auth-card {
    background-color: var(--bg-card);
    border: 2px solid var(--color-border);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    overflow: hidden;
}

.auth-tabs {
    display: flex;
    border-bottom: 1px solid var(--color-border);
}

.auth-tab {
    flex: 1;
    background-color: #F8F4EE;
    border: none;
    padding: 15px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    color: var(--text-dim);
    transition: all 0.2s;
}

.auth-tab.active {
    background-color: var(--bg-card);
    color: var(--text-main);
}

.auth-form {
    padding: 30px;
    display: none;
}

.auth-form.active {
    display: block;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-dim);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="number"] {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-size: 14px;
    background-color: #FAF8F5;
    outline: none;
    transition: background-color 0.2s;
}

.form-group input:focus {
    background-color: var(--bg-card);
}

.password-input-wrapper {
    position: relative;
    width: 100%;
}

.password-input-wrapper input {
    padding-right: 44px !important;
}

.password-toggle-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    padding: 4px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.password-toggle-btn:hover {
    color: var(--color-copper);
}

/* ==================== 3. WHAT TO DO NOW? VIEW ==================== */

.prototype-container {
    background-color: var(--bg-card);
    border: 2px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 45px;
    margin-bottom: 25px;
}

.page-title {
    font-size: 36px;
    margin-bottom: 10px;
}

.page-subtitle {
    font-size: 15px;
    color: var(--text-dim);
    margin-bottom: 35px;
}

.guide-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.guide-box {
    background-color: var(--bg-accent);
    border: 2px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
}

.guide-text {
    font-family: var(--font-heading);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* ==================== 4. RECORD VIEW ==================== */

.caution-box {
    background-color: #FFFDF0;
    border: 1px solid #D8C27E;
    border-left: 4px solid #D8C27E;
    padding: 15px 20px;
    margin-bottom: 25px;
    font-size: 13px;
    line-height: 1.5;
    border-radius: var(--border-radius);
}

.recorder-workspace {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 25px;
    margin-bottom: 25px;
}

.recorder-panel {
    background-color: var(--bg-accent);
    border: 2px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 25px;
}

.camera-screen {
    background-color: #000000;
    border-radius: var(--border-radius);
    aspect-ratio: 16 / 9;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid var(--color-border);
}

.camera-screen video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recorder-status-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 500;
    background-color: rgba(0,0,0,0.6);
    padding: 10px 20px;
    border-radius: 20px;
    z-index: 5;
}

.recorder-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-recorder {
    background-color: var(--bg-card);
    color: var(--text-main);
    border: 1px solid var(--color-border);
}

.btn-recorder:hover {
    background-color: #F8F4EE;
}

.btn-record-start {
    background-color: #FFF2F2;
    border-color: #E24C4C;
    color: #E24C4C;
}

.btn-record-start:hover {
    background-color: #FFD4D4;
}

.btn-record-stop {
    background-color: #333333;
    color: #FFFFFF;
}

.timer-display {
    font-family: monospace;
    font-size: 20px;
    font-weight: bold;
    padding: 5px 12px;
    background-color: #EFE6DC;
    border-radius: 4px;
    border: 1px solid rgba(0,0,0,0.1);
}

/* Vintage Notebook Ruled Notepad Style */
.notepad-panel {
    background-color: #FEFCD7; /* Vintage Yellowish Notepad */
    border: 2px solid var(--color-border);
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.05);
}

.notepad-header {
    background-color: var(--color-border);
    color: #FEFCD7;
    padding: 10px 15px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.notepad-body {
    flex: 1;
    position: relative;
    background-image: linear-gradient(#C6D6E7 1px, transparent 1px); /* Blue notebook lines */
    background-size: 100% 24px; /* Line spacing height */
    line-height: 24px;
    padding-top: 12px;
}

.notepad-margins {
    height: 100%;
    padding-left: 45px; /* Margin from red line */
    padding-right: 15px;
    position: relative;
}

/* Vertical Red Notebook Margin Line */
.notepad-margins::before {
    content: '';
    position: absolute;
    top: 0;
    left: 35px;
    width: 1px;
    height: 100%;
    background-color: #E49393; /* Red vertical line */
}

.notepad-body textarea {
    width: 100%;
    height: 100%;
    min-height: 280px;
    background: transparent;
    border: none;
    outline: none;
    font-family: 'Lora', 'Georgia', serif; /* Handwritten styled serif font */
    font-size: 15px;
    line-height: 24px; /* Must match background-size */
    resize: none;
    color: #1A3E62; /* Ink blue ink color */
}

.recorder-footer-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(0,0,0,0.1);
    margin-top: 30px;
    padding-top: 25px;
}

/* ==================== 5. VAULT (MY VIDEOS) VIEW ==================== */

.vault-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 25px;
}

.border-box-card {
    background-color: var(--bg-card);
    border: 2px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 30px;
}

.border-box-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding-bottom: 10px;
}

.upload-dropzone {
    border: 2px dashed #BCAFA0;
    background-color: #FAF8F5;
    border-radius: var(--border-radius);
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 20px;
}

.upload-dropzone:hover {
    background-color: #FEFDFB;
    border-color: var(--color-accent);
}

.dropzone-icon {
    font-size: 40px;
    color: var(--color-accent);
    margin-bottom: 10px;
}

.dropzone-text {
    font-size: 13px;
    color: var(--text-dim);
    margin-bottom: 10px;
}

.file-info {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-accent);
    display: block;
}

.progress-bar-container {
    height: 18px;
    background-color: #EFE6DC;
    border-radius: 9px;
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
    border: 1px solid rgba(0,0,0,0.1);
}

.progress-bar {
    width: 0;
    height: 100%;
    background-color: var(--color-accent);
    transition: width 0.1s;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 11px;
    font-weight: bold;
    color: var(--text-main);
}

.videos-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.video-card {
    background-color: var(--bg-main);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.video-info h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    margin-bottom: 5px;
}

.video-meta {
    font-size: 12px;
    color: var(--text-dim);
    display: flex;
    gap: 15px;
}

.video-status-tag {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.1);
}

.status-encrypted-tag {
    background-color: #ECE0D2;
    color: #8C6239;
}

.status-dispatched-tag {
    background-color: #E2F0D9;
    color: #385723;
}

.empty-state {
    text-align: center;
    padding: 50px 20px;
    color: var(--text-dim);
}

.empty-icon {
    font-size: 44px;
    margin-bottom: 15px;
    color: #C1B4A5;
}

/* ==================== 6. SETTINGS VIEW ==================== */

.settings-page-wrapper {
    max-width: 680px;
    margin: 40px auto;
}

.settings-border-card {
    background-color: #FFEBD6; /* Warm beige background from Wix mockup */
    border: 2px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 40px;
    font-family: var(--font-body);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

.settings-border-card h1 {
    font-family: var(--font-heading);
    font-size: 32px;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 500;
    color: var(--text-main);
    position: relative;
    padding-bottom: 12px;
}

.settings-border-card h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--color-accent);
    border-radius: 2px;
}

.settings-border-card .bold-text {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 500;
    color: var(--text-main);
    margin-bottom: 15px;
}

.radio-intervals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
    margin-top: 15px;
}

/* Transform radio controls into modern settings selector tabs/cards */
.form-check {
    position: relative;
    border: 1px solid var(--color-border);
    background-color: #FAF8F5;
    border-radius: var(--border-radius);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    overflow: hidden;
}

.form-check:hover {
    border-color: var(--color-accent);
    background-color: rgba(140, 98, 57, 0.05); /* warm light accent tint */
    transform: translateY(-2px);
}

.form-check:has(input:checked) {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    box-shadow: 0 4px 12px rgba(140, 98, 57, 0.15);
}

.form-check label {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-main);
    cursor: pointer;
    display: block;
    width: 100%;
    padding: 14px 10px;
    text-align: center;
    transition: color 0.2s ease, font-weight 0.2s ease;
}

.form-check:has(input:checked) label {
    color: #ffffff !important;
    font-weight: 600;
}

/* Hide the actual radio button inputs */
.form-check input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox-group {
    border-top: 1px solid rgba(44, 38, 33, 0.15);
    padding-top: 24px;
    margin-top: 25px;
}

.checkbox-label-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-label-row input[type="checkbox"] {
    accent-color: var(--color-accent);
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-label-row label {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--text-main);
    cursor: pointer;
    font-weight: 500;
}

.hint {
    display: block;
    color: var(--text-dim);
    font-size: 13.5px;
    line-height: 1.5;
    margin-top: 6px;
    padding-left: 28px;
}

.indent-group {
    padding-left: 28px;
    margin-top: 15px;
}

.date-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.date-row label {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dim);
}

.date-row select {
    padding: 8px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    background-color: #FAF8F5;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-main);
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s, background-color 0.2s;
}

.date-row select:focus {
    border-color: var(--color-accent);
    background-color: #ffffff;
}

.emergency-emails-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 450px;
}

.email-input-row {
    display: grid;
    grid-template-columns: 140px 1fr;
    align-items: center;
    gap: 10px;
}

.email-input-row label {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dim);
}

.email-input-row input {
    padding: 10px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-main);
    background-color: #FAF8F5;
    outline: none;
    transition: border-color 0.2s, background-color 0.2s;
    width: 100%;
}

.email-input-row input:focus {
    border-color: var(--color-accent);
    background-color: #ffffff;
}

.submit-btn {
    margin-top: 30px;
    width: 100%;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
}

.error-message {
    color: #C00000;
    font-weight: 600;
    margin-top: 15px;
    font-family: var(--font-body);
    font-size: 14px;
}

.success-message {
    color: #385723;
    font-weight: 600;
    margin-top: 15px;
    font-family: var(--font-body);
    font-size: 14px;
}

.settings-alert-recommendation {
    background-color: #FFFDF0;
    border: 1px solid #D8C27E;
    border-left: 4px solid #D8C27E;
    padding: 15px 20px;
    margin-bottom: 25px;
    font-size: 13.5px;
    line-height: 1.5;
    border-radius: var(--border-radius);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.settings-alert-recommendation p {
    margin: 0;
    color: #5C4D2E;
}

.settings-alert-recommendation strong {
    color: #4A3C20;
}

.settings-footer-text {
    text-align: center;
    margin-top: 30px;
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.6;
}

.current-status-display {
    background-color: var(--bg-main);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 20px;
    text-align: center;
}

.status-badge-cozy {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 12px;
    border: 1px solid rgba(0,0,0,0.1);
}

.status-active {
    background-color: #E2F0D9;
    color: #385723;
}

.status-check-pending {
    background-color: #FFF2CC;
    color: #7F6000;
}

.status-escalation {
    background-color: #FCE4D6;
    color: #C65911;
}

.status-dead {
    background-color: #FFF2F2;
    color: #A60000;
}

/* ==================== MODALS ==================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 200;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background-color: var(--bg-card);
    border: 2px solid var(--color-border);
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 650px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    overflow: hidden;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    background-color: var(--bg-main);
    border-bottom: 1px solid var(--color-border);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-family: var(--font-heading);
    font-size: 18px;
}

.close-modal-btn {
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-dim);
}

.close-modal-btn:hover {
    color: var(--text-main);
}

.modal-body {
    padding: 20px;
}

.video-player {
    width: 100%;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
    background-color: #000000;
}

.suggestions-modal-content {
    max-width: 750px;
    width: 95%;
}

.prompt-tabs {
    display: flex;
    background-color: var(--bg-main);
    border-bottom: 2px solid var(--color-border);
}

.prompt-tab {
    flex: 1;
    background-color: transparent;
    border: none;
    border-right: 1px solid var(--color-border);
    padding: 12px 15px;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    color: var(--text-dim);
    transition: all 0.2s ease;
}

.prompt-tab:last-child {
    border-right: none;
}

.prompt-tab:hover {
    background-color: rgba(0, 0, 0, 0.03);
    color: var(--text-main);
}

.prompt-tab.active {
    background-color: var(--bg-card);
    color: var(--text-main);
    border-bottom: 2px solid var(--color-copper);
    margin-bottom: -2px;
}

.suggestions-body {
    max-height: 60vh;
    overflow-y: auto;
    padding: 20px;
}

.prompt-tab-content {
    display: none;
}

.prompt-tab-content.active {
    display: block;
}

.template-section {
    margin-bottom: 25px;
}

.template-section h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    color: var(--color-copper);
    margin-bottom: 12px;
    border-bottom: 1px dashed var(--color-border);
    padding-bottom: 4px;
}

.suggestion-card {
    background-color: #FAF6F0;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    padding: 12px 15px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.suggestion-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.suggestion-text {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-main);
    margin: 0;
    font-style: italic;
}

.btn-tiny {
    padding: 5px 10px;
    font-size: 11px;
    white-space: nowrap;
    background-color: var(--bg-main);
    color: var(--text-main);
    border: 1px solid var(--color-border);
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.btn-tiny:hover {
    background-color: var(--color-copper);
    color: #ffffff;
    border-color: var(--color-copper);
}

/* ==================== TOASTS ==================== */

.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 500;
}

.toast {
    background-color: var(--bg-card);
    color: var(--text-main);
    border: 2px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 12px 20px;
    min-width: 250px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    font-size: 13px;
    font-weight: 500;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { transform: translateX(50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.toast-close {
    background: transparent;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: var(--text-dim);
}

.toast-success { border-left: 5px solid #385723; }
.toast-error { border-left: 5px solid #C00000; }
.toast-warning { border-left: 5px solid #E28C34; }

/* ==================== PRICING & SUBSCRIPTIONS ==================== */

.pricing-section {
    padding: 60px 20px;
    text-align: center;
    background-color: #F6EFE6;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.section-title {
    font-size: 32px;
    margin-bottom: 10px;
    color: var(--text-main);
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-dim);
    margin-bottom: 40px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background-color: var(--bg-card);
    display: flex;
    flex-direction: column;
    padding: 30px 25px;
    text-align: left;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.pricing-card-popular {
    border-color: var(--color-copper) !important;
    border-width: 2px !important;
    box-shadow: 0 5px 20px rgba(150, 95, 55, 0.1);
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-copper);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.plan-header h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-main);
}

.price {
    font-family: var(--font-heading);
    font-size: 44px;
    font-weight: bold;
    color: var(--text-main);
    display: inline-flex;
    align-items: flex-start;
}

.original-price {
    font-size: 20px;
    color: #a8a29e;
    text-decoration: line-through;
    font-weight: normal;
    display: block;
    margin-bottom: 5px;
    min-height: 24px;
    text-align: center;
}

.promo-banner {
    background: rgba(194, 125, 56, 0.08);
    border: 1px solid rgba(194, 125, 56, 0.3);
    color: var(--color-accent);
    padding: 12px 20px;
    border-radius: 8px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 30px auto;
    font-weight: 600;
    font-size: 0.95em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(194, 125, 56, 0.05);
}

.currency {
    font-size: 20px;
    margin-top: 5px;
    margin-right: 2px;
}

.period {
    font-size: 13px;
    color: var(--text-dim);
    margin-bottom: 25px;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    flex-grow: 1;
}

.plan-features li {
    font-size: 13.5px;
    margin-bottom: 12px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.plan-features li i {
    color: #385723;
    font-size: 12px;
}

.btn-pricing-cta {
    width: 100%;
    padding: 12px;
    text-align: center;
    font-size: 13px;
    font-weight: bold;
}

/* ==================== TRIAL BANNER ==================== */

.trial-banner {
    background-color: #FAF2E3;
    border-bottom: 2px solid var(--color-border);
    padding: 10px 20px;
    z-index: 10;
}

.trial-banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 10px;
}

.trial-banner-content span {
    font-size: 13.5px;
    font-weight: 500;
    color: #8C6A2E;
}

.trial-banner.expired {
    background-color: #FDF1F1;
    border-bottom: 2px solid #C00000;
}

.trial-banner.expired span {
    color: #C00000;
    font-weight: bold;
}

/* ==================== FAMILY MEMBERS ==================== */

.family-members-panel {
    background-color: var(--bg-card);
}

.family-members-table th {
    font-family: var(--font-heading);
    font-size: 13px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.family-members-table td {
    padding: 12px 5px;
    font-size: 13.5px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.btn-remove-member {
    background: transparent;
    border: none;
    color: #C00000;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.btn-remove-member:hover {
    background-color: rgba(192, 0, 0, 0.05);
}

.btn-delete-video {
    background-color: transparent;
    color: #E24C4C;
    border: 1px solid #E24C4C;
    border-radius: 4px;
    padding: 5px 10px;
    font-size: 11px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-delete-video:hover {
    background-color: #FFF2F2;
    border-color: #E24C4C;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .hero-section, .journey-section, .seo-intent-section, .recorder-workspace, .vault-grid, .pricing-grid, .steps-grid, .faq-grid {
        grid-template-columns: 1fr;
    }
    
    /* Hide nav menu by default on mobile but prepare dropdown styling */
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-card);
        border-bottom: 2px solid var(--color-border);
        padding: 20px 30px;
        gap: 15px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.06);
        z-index: 99;
    }
    
    .nav-menu.mobile-active {
        display: flex !important;
    }

    .nav-link {
        font-size: 15px;
        padding: 10px 0;
        width: 100%;
        border-bottom: 1px solid rgba(0,0,0,0.03);
    }
    
    .nav-link.active::after {
        display: none;
    }
    
    .nav-link.active {
        border-bottom: 2px solid var(--color-accent);
        color: var(--color-accent) !important;
    }
    
    .main-header {
        position: relative;
    }
}

/* Default state for hamburger button on desktop */
.mobile-menu-btn {
    display: none;
}

/* Mobile responsive hamburger styles */
@media (max-width: 900px) {
    .mobile-menu-btn {
        display: block;
        background: none;
        border: none;
        font-size: 22px;
        color: var(--text-main);
        cursor: pointer;
        padding: 5px;
        margin-left: auto;
        margin-right: 15px;
        transition: color 0.2s ease;
    }
    
    .mobile-menu-btn:hover {
        color: var(--color-accent);
    }
}

/* ==================== VIDEO FILTERS ==================== */
.video-filter-none {
    filter: none !important;
    transition: filter 0.3s ease;
}

.video-filter-warm {
    filter: sepia(0.4) saturate(1.25) contrast(0.95) brightness(1.05) hue-rotate(-5deg) !important;
    transition: filter 0.3s ease;
}

.video-filter-happy {
    filter: saturate(1.4) contrast(1.1) brightness(1.08) sepia(0.08) !important;
    transition: filter 0.3s ease;
}

/* ==================== PROOF OF LIFE & RECIPIENT PORTAL ==================== */

.proof-of-life-card {
    background-color: var(--bg-card);
    border: 2px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.pol-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(56, 87, 35, 0.08); /* light green tint */
    border: 1px solid rgba(56, 87, 35, 0.2);
    padding: 6px 12px;
    border-radius: 20px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: #385723; /* Green */
    border-radius: 50%;
    display: inline-block;
}

.status-dot.active {
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(56, 87, 35, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(56, 87, 35, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(56, 87, 35, 0);
    }
}

.pol-status-badge .status-text {
    font-size: 13px;
    font-weight: 600;
    color: #385723;
    font-family: var(--font-body);
}

.spinner {
    border: 4px solid rgba(255,255,255,0.1);
    border-left-color: #fff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

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

.recipient-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    outline: none;
}

/* ==================== PUBLIC FOOTER ==================== */
.public-footer {
    background-color: var(--text-main); /* Dark Earthy Charcoal */
    border-top: 2px solid var(--color-border);
    padding: 60px 20px;
    margin-top: 80px;
    text-align: center;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    color: #FFFFFF;
}

.footer-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: bold;
    color: #FFFFFF;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.footer-tagline {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 30px;
}

.footer-link {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-link:hover {
    color: #FFFFFF;
    text-decoration: none;
    transform: translateY(-1px);
}

.footer-copyright {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    width: 100%;
    max-width: 600px;
}

/* ==================== RTL LANGUAGE SUPPORT ==================== */
html[dir="rtl"] body {
    direction: rtl;
}

html[dir="rtl"] input,
html[dir="rtl"] textarea,
html[dir="rtl"] select {
    text-align: right;
}

html[dir="rtl"] .logo,
html[dir="rtl"] .nav-menu,
html[dir="rtl"] .user-menu,
html[dir="rtl"] .language-menu,
html[dir="rtl"] .trial-banner-content,
html[dir="rtl"] .footer-logo,
html[dir="rtl"] .footer-links {
    flex-direction: row-reverse;
}


/* ==================== ACTIVITY & DELIVERY TIMELINE ==================== */

.timeline-wrapper {
    position: relative;
    padding: 10px 0 10px 30px;
    margin: 20px 0;
}

.timeline-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 12px;
    width: 2px;
    background-color: var(--color-border);
    opacity: 0.35;
}

.timeline-item {
    position: relative;
    margin-bottom: 25px;
    animation: fadeIn 0.4s ease;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -30px;
    top: 4px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: var(--bg-card);
    border: 2px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: var(--text-main);
    z-index: 2;
    transition: all 0.25s ease;
}

.timeline-item:hover .timeline-marker {
    transform: scale(1.15);
    background-color: var(--bg-accent);
}

/* Event status themes for marker border */
.timeline-item.status-success .timeline-marker {
    border-color: #2e7d32;
    color: #2e7d32;
}

.timeline-item.status-warning .timeline-marker {
    border-color: #d84315;
    color: #d84315;
}

.timeline-item.status-failed .timeline-marker {
    border-color: #c62828;
    color: #c62828;
}

.timeline-item.status-pending .timeline-marker {
    border-color: #b8860b;
    color: #b8860b;
}

.timeline-content {
    background-color: var(--bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 16px;
    box-shadow: 0 2px 5px rgba(44, 38, 33, 0.05);
    transition: all 0.25s ease;
}

.timeline-content:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(44, 38, 33, 0.1);
    background-color: rgba(255, 255, 255, 0.95);
}

/* Badges styling */
.timeline-badge {
    font-size: 10px;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
}

.timeline-badge.badge-success {
    background-color: rgba(46, 125, 50, 0.1);
    color: #2e7d32;
    border: 1px solid rgba(46, 125, 50, 0.2);
}

.timeline-badge.badge-warning {
    background-color: rgba(216, 67, 21, 0.1);
    color: #d84315;
    border: 1px solid rgba(216, 67, 21, 0.2);
}

.timeline-badge.badge-failed {
    background-color: rgba(198, 40, 40, 0.1);
    color: #c62828;
    border: 1px solid rgba(198, 40, 40, 0.2);
}

.timeline-badge.badge-pending {
    background-color: rgba(184, 134, 11, 0.1);
    color: #b8860b;
    border: 1px solid rgba(184, 134, 11, 0.2);
}

.timeline-badge.badge-info {
    background-color: rgba(140, 98, 57, 0.1);
    color: var(--color-accent);
    border: 1px solid rgba(140, 98, 57, 0.2);
}

.modal-body {
    position: relative;
}

.video-modal-loader {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    background-color: rgba(44, 38, 33, 0.95);
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    border-radius: var(--border-radius);
    z-index: 10;
}

.video-modal-loader .spinner {
    border: 4px solid rgba(255, 255, 255, 0.15);
    border-left-color: var(--color-copper);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

.video-modal-loader .loader-text {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--font-body);
    text-align: center;
}

/* ==================== SECURITY & LOGIN HISTORY ==================== */
.security-history-panel {
    background-color: var(--bg-card);
}

.security-history-panel table th {
    font-family: var(--font-heading);
    font-size: 13px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 5px;
    border-bottom: 2px solid var(--color-border);
}

.security-history-panel table td {
    padding: 12px 5px;
    font-size: 13.5px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--text-main);
}

.security-history-panel .badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.security-history-panel .badge-login {
    background-color: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.security-history-panel .badge-register {
    background-color: rgba(0, 123, 255, 0.1);
    color: #007bff;
}

.security-history-panel .badge-default {
    background-color: rgba(108, 117, 125, 0.1);
    color: #6c757d;
}

/* Footer Social Icons Styling */
.footer-socials {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}

.footer-social-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social-link:hover {
    color: #FFFFFF;
    background-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}



