/* Motivational Quotes Overlay */
.quote-loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    transition: opacity 0.5s ease;
}

[data-theme-mode="dark"] .quote-loader-overlay,
.dark-style .quote-loader-overlay {
    background: #1e1e2f;
}

.quote-loader-overlay.active {
    display: flex;
}

.quote-container {
    max-width: 800px;
    text-align: center;
    padding: 40px;
    animation: fadeInQuote 1.2s ease-out;
    position: relative;
}

.quote-text {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.4;
    color: #222222;
    letter-spacing: -0.5px;
}

[data-theme-mode="dark"] .quote-text,
.dark-style .quote-text {
    color: #ffffff;
}

.quote-author {
    font-size: 1.2rem;
    color: #666666;
    font-style: italic;
    opacity: 0.8;
}

[data-theme-mode="dark"] .quote-author,
.dark-style .quote-author {
    color: #bbbbbb;
}

[data-theme-mode="dark"] .quote-container {
    background: transparent;
}

[data-theme-mode="dark"] .quote-skip,
[data-theme-mode="dark"] .quote-capture,
.dark-style .quote-skip,
.dark-style .quote-capture {
    background: rgba(115, 103, 240, 0.18);
    border-color: rgba(115, 103, 240, 0.35);
    color: #c4b5fd;
}

[data-theme-mode="dark"] .quote-skip:hover,
[data-theme-mode="dark"] .quote-capture:hover,
.dark-style .quote-skip:hover,
.dark-style .quote-capture:hover {
    background: #7367f0;
    color: #ffffff;
}

[data-theme-mode="dark"] .quote-actions .dropdown-menu,
.dark-style .quote-actions .dropdown-menu {
    background: #111827;
    border-color: #374151;
}

[data-theme-mode="dark"] .quote-actions .dropdown-item,
.dark-style .quote-actions .dropdown-item {
    color: #e5e7eb;
}

[data-theme-mode="dark"] .quote-actions .dropdown-item:hover,
[data-theme-mode="dark"] .quote-actions .dropdown-item:focus,
.dark-style .quote-actions .dropdown-item:hover,
.dark-style .quote-actions .dropdown-item:focus {
    background: rgba(115, 103, 240, 0.18);
    color: #ffffff;
}

.quote-logo {
    margin-top: 40px;
    width: 120px;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.quote-loader-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    height: 6px;
    background: #7367f0;
    width: 0%;
    box-shadow: 0 0 15px rgba(115, 103, 240, 0.5);
}

.quote-actions {
    position: fixed;
    bottom: 40px;
    right: 40px;
    display: flex;
    gap: 15px;
    animation: fadeInActions 2s ease-out;
}

.quote-skip, .quote-capture {
    background: rgba(115, 103, 240, 0.1);
    border: 1px solid rgba(115, 103, 240, 0.2);
    color: #7367f0;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.quote-skip:hover, .quote-capture:hover {
    background: #7367f0;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(115, 103, 240, 0.3);
}

/* Paused State */
.quote-loader-overlay.paused .quote-container {
    opacity: 0.8;
    filter: grayscale(0.2);
}

.quote-loader-overlay.paused .quote-loader-bar {
    background: #a8aaae; /* Grayed out when paused */
    box-shadow: none;
}

.quote-loader-overlay.paused::before {
    content: '\ea14'; /* tabler-icon pause fallback if using tabler, but silondo uses bx */
    font-family: 'boxicons';
    content: '\eb2d'; /* bx-pause */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 8rem;
    opacity: 0.05;
    pointer-events: none;
    z-index: 1;
    color: #7367f0;
}

@keyframes fadeInQuote {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes fadeInActions {
    0%, 50% { opacity: 0; }
    100% { opacity: 1; }
}

/* Mobile Responsive for Quotes */
@media (max-width: 767px) {
    .quote-container {
        padding: 25px;
    }
    .quote-text {
        font-size: 1.6rem;
    }
    .quote-actions {
        bottom: 20px;
        right: 0;
        left: 0;
        justify-content: center;
        width: 100%;
        padding: 0 20px;
    }
    .quote-skip, .quote-capture {
        flex: 1;
        justify-content: center;
    }
}
