* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family:
        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        sans-serif;
    background: #1a1a1a;
    color: #fff;
    overflow: hidden;
    height: 100vh;
}

.container {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateX(0);
}

.page.slide-left {
    transform: translateX(-100%);
}

.page.slide-right {
    transform: translateX(100%);
}

.page.slide-up {
    transform: translateY(-100%);
}

.page.slide-down {
    transform: translateY(100%);
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    z-index: 100;
}

.header h1 {
    font-size: 24px;
    font-weight: 300;
    color: #fff;
}

.fullscreen-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 101;
    transition: opacity 0.2s ease;
    font-size: 32px;
    font-weight: 200;
    color: rgba(255, 255, 255, 0.4);
}

.fullscreen-toggle:hover {
    opacity: 0.8;
}

.fullscreen-toggle:focus {
    outline: none;
}

.fullscreen-toggle:active {
    outline: none;
}

.content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    width: 100%;
    height: 100vh;
}

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

.realtime-clock {
    font-size: 18px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 15px;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
    letter-spacing: 1px;
}

.day-number {
    font-size: 120px;
    font-weight: 100;
    margin-bottom: 20px;
    color: #fff;
}

.day-name {
    font-size: 24px;
    color: #999;
    margin-bottom: 10px;
}

.month-year {
    font-size: 18px;
    color: #666;
}

.week-view {
    width: 100%;
    max-width: 500px;
    padding: 10px;
}

/* Main 7-column grid */
.week-main-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 12px;
    width: 100%;
}

/* Each column contains media above + day square + media below */
.week-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

/* Media areas above and below day squares */
.week-media-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-height: 20px; /* Reserve space even when empty */
    width: 100%;
}

/* Day squares - bigger and bolder */
.week-day {
    aspect-ratio: 1;
    width: 100%;
    max-width: 64px; /* Bigger than before */
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    font-size: 20px; /* Bigger font */
    font-weight: 600; /* Bolder */
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.week-day:active {
    transform: scale(0.95);
    background: rgba(255, 255, 255, 0.12);
}

.week-day.current {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 2px 12px rgba(255,255,255,0.2);
}

/* Media squares */
.week-media-square {
    width: 100%;
    aspect-ratio: 1;
    max-width: 28px; /* Smaller than day squares to create hierarchy */
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 4px rgba(0,0,0,0.25);
    border: 1px solid rgba(255,255,255,0.1);
}

.week-media-square:active {
    transform: scale(0.90);
}

/* Media square types */
.week-media-text {
    background: rgba(255, 215, 0, 0.9); /* Gold */
    color: #1a1a1a;
}

.week-media-image {
    background: rgba(0, 191, 255, 0.9); /* Blue */
    padding: 2px;
}

.week-media-audio {
    background: rgba(255, 107, 107, 0.9); /* Red */
    color: white;
}

.week-media-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.month-view {
    width: 100%;
    max-width: 400px;
}

.month-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.month-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    font-size: 14px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.month-day:hover:not(.other-month) {
    background: rgba(255, 255, 255, 0.06);
}

.month-day.current {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.month-day.other-month {
    color: #333;
}

/* Media indicators for month view */
.media-indicators {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.media-dot {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    box-shadow: 0 0 3px rgba(0,0,0,0.3);
}

/* Media dot positions */
.media-dot-top-left {
    top: 3px;
    left: 3px;
}

.media-dot-top-right {
    top: 3px;
    right: 3px;
}

.media-dot-bottom-left {
    bottom: 3px;
    left: 3px;
}

.media-dot-bottom-right {
    bottom: 3px;
    right: 3px;
}

/* Media dot colors */
.media-dot-text {
    background: #ffd700; /* Gold for text notes */
}

.media-dot-image {
    background: #00bfff; /* Blue for photos */
}

.media-dot-audio {
    background: #ff6b6b; /* Red for audio */
}

.media-dot-verse {
    background: #9b59b6; /* Purple for verses */
}

.year-view {
    width: 100%;
    height: 100%;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
}

.year-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(16px, 1fr));
    gap: 4px;
    width: 80%;
    max-width: 800px;
    justify-content: center;
    padding: 0 10px;
}

.year-day {
    width: 16px;
    height: 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.year-day:hover {
    background: rgba(255, 255, 255, 0.3);
}

.year-day.current {
    background: rgba(255, 255, 255, 0.5);
}


/* Export Modal Styles */
.export-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.export-modal.active {
    opacity: 1;
}

.export-modal-content {
    background: #2a2a2a;
    border-radius: 20px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    position: relative;
    animation: slideUp 0.3s ease;
}

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

.export-modal-content h2 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.5em;
}

.export-modal-content p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.export-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.export-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 20px 15px;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
}

.export-btn:active {
    transform: scale(0.95);
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
}

.export-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.export-icon svg {
    width: 100%;
    height: 100%;
    stroke: #fff;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
    transition: transform 0.2s ease;
}

.export-btn:hover .export-icon svg {
    transform: translateY(-2px);
}

.export-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.export-close svg {
    width: 20px;
    height: 20px;
    stroke: rgba(255, 255, 255, 0.7);
}

.export-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.export-close:hover svg {
    stroke: rgba(255, 255, 255, 0.9);
}

.export-toast {
    position: fixed;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    background: #4CAF50;
    color: white;
    padding: 15px 25px;
    border-radius: 25px;
    font-size: 14px;
    transition: bottom 0.3s ease;
    z-index: 10001;
}

.export-toast.show {
    bottom: 30px;
}

@media (orientation: landscape) {
    .day-number {
        font-size: 80px;
    }

    .header h1 {
        font-size: 20px;
    }
}

/* Chat Input Component - Line App Style */
.chat-input-overlay {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #2a2a2a;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 12px 8px 12px;
    display: none;
    z-index: 200;
    transition: all 0.3s ease;
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.3);
}

.chat-input-overlay.active {
    display: block;
    animation: slideUp 0.3s ease;
}

.chat-input-overlay.keyboard-open {
    transition: transform 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.chat-input-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 100%;
    margin: 0;
}

.chat-input-row {
    display: flex;
    gap: 6px;
    align-items: flex-end;
}

.chat-input-wrapper {
    flex: 1;
    position: relative;
}

.chat-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    padding: 12px 16px 12px 16px;
    padding-right: 45px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 15px;
    line-height: 1.4;
    outline: none;
    resize: none;
    min-height: 20px;
    max-height: 100px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.chat-input:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.15);
}

.chat-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.chat-button {
    height: 44px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    padding: 0 8px;
    flex-shrink: 0;
}

.chat-button svg {
    width: 22px;
    height: 22px;
}

.chat-button:hover {
    color: rgba(255, 255, 255, 0.9);
    transform: scale(1.1);
}

.chat-button:active {
    transform: scale(0.9);
}

.chat-button.send {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: transparent;
    color: #007AFF;
    border-radius: 0;
    padding: 0;
}

.chat-button.send:hover {
    color: #0056CC;
    transform: translateY(-50%) scale(1.1);
}

.chat-button.send:active {
    transform: translateY(-50%) scale(0.9);
}

.chat-button.camera,
.chat-button.audio {
    color: rgba(255, 255, 255, 0.7);
}

.chat-button.camera:hover,
.chat-button.audio:hover {
    color: rgba(255, 255, 255, 1);
}

.shade-selector {
    display: flex;
    gap: 6px;
    padding: 4px 0;
    justify-content: center;
}

.shade-option {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: all 0.2s ease;
}

.shade-option:hover,
.shade-option.selected {
    border-color: #fff;
    transform: scale(1.15);
}

.shade-option[data-shade="1"] { background: rgba(255, 255, 255, 0.1); }
.shade-option[data-shade="2"] { background: rgba(255, 255, 255, 0.2); }
.shade-option[data-shade="3"] { background: rgba(255, 255, 255, 0.3); }
.shade-option[data-shade="4"] { background: rgba(255, 255, 255, 0.4); }
.shade-option[data-shade="5"] { background: rgba(255, 255, 255, 0.5); }

/* Sticky Notes */
.sticky-note {
    position: absolute;
    padding: 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 12px;
    min-width: 80px;
    max-width: 150px;
    word-wrap: break-word;
    user-select: none;
    z-index: 10;
}

.sticky-note:hover {
    transform: scale(1.05);
    z-index: 11;
}

.sticky-note.shade-1 { background: rgba(255, 255, 255, 0.1); }
.sticky-note.shade-2 { background: rgba(255, 255, 255, 0.2); }
.sticky-note.shade-3 { background: rgba(255, 255, 255, 0.3); }
.sticky-note.shade-4 { background: rgba(255, 255, 255, 0.4); }
.sticky-note.shade-5 { background: rgba(255, 255, 255, 0.5); }

.sticky-note-title {
    font-weight: 500;
    margin-bottom: 4px;
    opacity: 0.7;
    font-size: 10px;
}

.sticky-note-preview {
    font-size: 11px;
    opacity: 0.9;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* Photo Notes */
.photo-note {
    position: absolute;
    padding: 6px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.photo-note:hover {
    transform: scale(1.05) rotate(-1deg);
    z-index: 11;
}

.photo-note img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 2px;
    image-rendering: pixelated;
    filter: contrast(1.1);
}

/* Note Detail Modal */
.note-detail-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 300;
    padding: 20px;
}

.note-detail-modal.active {
    display: flex;
}

.note-detail-content {
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 20px;
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}

.note-detail-close {
    float: right;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    opacity: 0.5;
}

.note-detail-close:hover {
    opacity: 1;
}

.note-detail-text {
    margin-top: 20px;
    line-height: 1.5;
}

.note-detail-image {
    width: 100%;
    margin-top: 20px;
    border-radius: 4px;
}

/* Hidden file input */
.hidden-file-input {
    display: none;
}

/* Audio Notes */
.audio-note {
    position: absolute;
    padding: 8px;
    background: rgba(138, 43, 226, 0.2);
    border: 1px solid rgba(138, 43, 226, 0.4);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 60px;
    text-align: center;
    z-index: 10;
}

.audio-note:hover {
    transform: scale(1.05);
    background: rgba(138, 43, 226, 0.3);
    z-index: 11;
}

.audio-note-icon {
    font-size: 20px;
    margin-bottom: 4px;
}

.audio-note-title {
    font-size: 10px;
    opacity: 0.8;
}

/* Verse Notes with Golden Light Effects */
.verse-note {
    position: absolute;
    padding: 12px 16px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 223, 0, 0.25));
    border: 2px solid rgba(255, 215, 0, 0.4);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.4s ease;
    min-width: 200px;
    max-width: 250px;
    text-align: center;
    z-index: 15;
    font-weight: 500;
    color: rgba(255, 215, 0, 0.9);
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

/* Unread verse with golden light beams */
.verse-note.unread {
    animation: goldenPulse 3s ease-in-out infinite;
    box-shadow: 
        0 0 20px rgba(255, 215, 0, 0.4),
        0 0 40px rgba(255, 215, 0, 0.2),
        0 0 60px rgba(255, 215, 0, 0.1),
        inset 0 0 20px rgba(255, 215, 0, 0.1);
}

.verse-note.unread::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 50px;
    background: linear-gradient(to bottom, transparent, rgba(255, 215, 0, 0.6));
    animation: lightBeam1 4s ease-in-out infinite;
}

.verse-note.unread::after {
    content: '';
    position: absolute;
    top: -40px;
    left: 30%;
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, rgba(255, 215, 0, 0.4));
    animation: lightBeam2 4s ease-in-out infinite 0.5s;
}

/* Read verse with simple glow */
.verse-note.read {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.08), rgba(255, 223, 0, 0.12));
    border: 1px solid rgba(255, 215, 0, 0.2);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.15);
    animation: none;
    opacity: 0.7;
}

.verse-note.read::before,
.verse-note.read::after {
    display: none;
}

.verse-note:hover {
    transform: scale(1.02) translateY(-2px);
    box-shadow: 
        0 4px 20px rgba(255, 215, 0, 0.3),
        0 0 30px rgba(255, 215, 0, 0.2);
}

.verse-content {
    font-size: 12px;
    line-height: 1.4;
}

/* Golden pulse animation */
@keyframes goldenPulse {
    0%, 100% {
        box-shadow: 
            0 0 20px rgba(255, 215, 0, 0.4),
            0 0 40px rgba(255, 215, 0, 0.2),
            0 0 60px rgba(255, 215, 0, 0.1),
            inset 0 0 20px rgba(255, 215, 0, 0.1);
        border-color: rgba(255, 215, 0, 0.4);
    }
    50% {
        box-shadow: 
            0 0 30px rgba(255, 215, 0, 0.6),
            0 0 60px rgba(255, 215, 0, 0.4),
            0 0 90px rgba(255, 215, 0, 0.2),
            inset 0 0 30px rgba(255, 215, 0, 0.2);
        border-color: rgba(255, 215, 0, 0.7);
    }
}

/* Light beam animations */
@keyframes lightBeam1 {
    0%, 100% {
        opacity: 0;
        height: 50px;
    }
    20% {
        opacity: 0.8;
        height: 70px;
    }
    80% {
        opacity: 0.6;
        height: 60px;
    }
}

@keyframes lightBeam2 {
    0%, 100% {
        opacity: 0;
        height: 40px;
        left: 30%;
    }
    30% {
        opacity: 0.6;
        height: 55px;
        left: 35%;
    }
    70% {
        opacity: 0.4;
        height: 45px;
        left: 25%;
    }
}

/* Note Dragging Styles */
.sticky-note.dragging,
.photo-note.dragging,
.audio-note.dragging,
.verse-note.dragging {
    z-index: 1000;
    transform: scale(1.1) rotate(2deg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: none;
}

/* Recycle Bin */
.recycle-bin {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 80px;
    height: 80px;
    background: rgba(255, 0, 0, 0.1);
    border: 2px dashed rgba(255, 0, 0, 0.3);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s ease;
    z-index: 500;
    pointer-events: none;
}

.recycle-bin.visible {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.recycle-bin.hover {
    background: rgba(255, 0, 0, 0.2);
    border-color: rgba(255, 0, 0, 0.6);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
}

.recycle-bin-icon {
    font-size: 24px;
    margin-bottom: 2px;
}

.recycle-bin-text {
    font-size: 8px;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    line-height: 1;
}

@media (orientation: landscape) {
    .recycle-bin {
        width: 60px;
        height: 60px;
        bottom: 20px;
        right: 20px;
    }
    
    .recycle-bin-icon {
        font-size: 20px;
    }
    
    .recycle-bin-text {
        font-size: 7px;
    }
}

/* Full-Page Image Viewer */
.image-viewer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-viewer.active {
    opacity: 1;
}

.image-viewer-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.image-viewer-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

.image-viewer-close {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2001;
    transition: all 0.2s ease;
}

.image-viewer-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Permission Message */
.permission-message {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.permission-message.active {
    opacity: 1;
}

.permission-message-content {
    background: #2a2a2a;
    border-radius: 12px;
    padding: 30px;
    max-width: 400px;
    width: 100%;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.permission-message-icon {
    font-size: 48px;
    margin-bottom: 20px;
    opacity: 0.8;
}

.permission-message-text {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
}

.permission-message-close {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 10px 30px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.permission-message-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}