#daily-quotes-page {
            background-color: #f0f8ff;
            text-align: center;
            padding: 20px;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
        }

#daily-quotes-page .container {
            background: #fff;
            padding: 25px;
            border-radius: 15px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            max-width: 450px;
            margin: auto;
            position: relative;
        }

#daily-quotes-page .logo {
            max-width: 95%;
            height: auto;
            margin-bottom: 10px;
        }

#daily-quotes-page h1 {
            font-size: 27px;
            color: #2e8b57;
            font-family: 'Work Sans', sans-serif;
            text-align: center;
            margin-bottom: 20px;
        }

#daily-quotes-page h2 {
            font-size: 16px;
            text-align: center;
            font-family: 'Rubik', sans-serif;
        }

#daily-quotes-page button {
            display: block;
            width: 90%;
            margin: 15px auto;
            padding: 12px;
            font-size: 16px;
            border: none;
            border-radius: 8px;
            background-color: #4caf50;
            color: white;
            cursor: pointer;
            transition: background 0.3s;
        }

#daily-quotes-page button:hover {
            background-color: #45a049;
        }

#daily-quotes-page .footer {
            font-size: 12px;
            color: #555;
            margin-top: 20px;
        }

#daily-quotes-page .spinner {
            display: none;
            margin: 20px auto;
            width: 40px;
            height: 40px;
            border: 4px solid #ccc;
            border-top: 4px solid #4caf50;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

@media (max-width: 480px) {
            #daily-quotes-page .container {
                padding: 15px;
            }
            #daily-quotes-page button {
                font-size: 14px;
            }
        }

#past-quotes-page {
            background-color: #f0f8ff;
            padding: 0;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

#past-quotes-page .quote-header {
            background: linear-gradient(135deg, #2e7d32, #4CAF50);
            color: white;
            padding: 20px;
            text-align: center;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }

#past-quotes-page h1 {
            color: white;
            font-size: 28px;
            margin: 0 0 10px 0;
        }

#past-quotes-page .quote-subtitle {
            color: rgba(255,255,255,0.9);
            font-size: 14px;
            margin: 0;
        }

#past-quotes-page .past-quotes-body {
            flex: 1;
            padding: 15px;
            max-width: 600px;
            width: 100%;
            margin: 0 auto;
            box-sizing: border-box;
        }

/* Date search bar — added 2026-09-13 */
#past-quotes-page .past-quotes-search {
            display: flex;
            gap: 8px;
            margin-bottom: 15px;
        }

#past-quotes-page .past-quotes-date-input {
            flex: 1;
            min-width: 0;
            padding: 10px 12px;
            border: 2px solid #cfe8d0;
            border-radius: 8px;
            font-size: 15px;
            font-family: inherit;
            color: #333;
            background: white;
        }

#past-quotes-page .past-quotes-date-input:focus {
            outline: none;
            border-color: #4CAF50;
        }

#past-quotes-page .past-quotes-search-btn,
#past-quotes-page .past-quotes-clear-btn {
            padding: 10px 16px;
            border: none;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            white-space: nowrap;
            transition: background-color 0.3s;
        }

#past-quotes-page .past-quotes-search-btn {
            background-color: #4CAF50;
            color: white;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

#past-quotes-page .past-quotes-search-btn:hover {
            background-color: #45a049;
        }

#past-quotes-page .past-quotes-clear-btn {
            background: #eef0f4;
            color: #444;
            border: 1px solid #dcdfe6;
        }

#past-quotes-page .past-quotes-clear-btn:hover {
            background: #e2e5eb;
        }

@media (max-width: 420px) {
    #past-quotes-page .past-quotes-search {
        flex-wrap: wrap;
    }
    #past-quotes-page .past-quotes-date-input {
        flex-basis: 100%;
    }
}

#past-quotes-page .past-quotes-list {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

#past-quotes-page .past-quote-item {
            display: flex;
            align-items: center;
            gap: 12px;
            background: white;
            border-radius: 10px;
            padding: 10px;
            box-shadow: 0 2px 6px rgba(0,0,0,0.08);
            cursor: pointer;
            transition: transform 0.15s, box-shadow 0.15s;
        }

#past-quotes-page .past-quote-item:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 10px rgba(0,0,0,0.12);
        }

#past-quotes-page .past-quote-thumb {
            width: 110px;
            height: 140px;
            /* contain, not cover - these are text-heavy quote card images,
               cropping them square hid most of the actual content */
            object-fit: contain;
            border-radius: 8px;
            flex-shrink: 0;
            background: #f0f0f0;
            border: 1px solid #e0e0e0;
        }

#past-quotes-page .past-quote-info {
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

#past-quotes-page .past-quote-date {
            font-size: 16px;
            font-weight: 600;
            color: #2e7d32;
        }

#past-quotes-page .past-quote-novideo {
            font-size: 12px;
            color: #999;
        }

#past-quotes-page .past-quotes-empty {
            text-align: center;
            color: #777;
            padding: 40px 0;
        }

#past-quotes-page .loading-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 30px 0;
        }

#past-quotes-page .spinner {
            border: 4px solid #f3f3f3;
            border-top: 4px solid #4CAF50;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            animation: spin 1s linear infinite;
            margin-bottom: 15px;
        }

#past-quotes-page .error-message {
            text-align: center;
            color: #d32f2f;
            padding: 20px 0;
        }

#past-quotes-page .past-quotes-load-more {
            display: block;
            width: 100%;
            margin: 15px auto 0;
            padding: 12px;
            font-size: 15px;
            border: none;
            border-radius: 8px;
            background-color: #4caf50;
            color: white;
            cursor: pointer;
            transition: background 0.3s;
        }

#past-quotes-page .past-quotes-load-more:hover {
            background-color: #45a049;
        }

#past-quotes-page .back-button-container {
            background: white;
            padding: 15px;
            text-align: center;
            box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
        }

#past-quotes-page .back-button {
            background-color: #4CAF50;
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 8px;
            font-size: 16px;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            transition: background-color 0.3s;
        }

#past-quotes-page .back-button:hover {
            background-color: #45a049;
        }

#today-quote-page {
            background-color: #f0f8ff;
            padding: 0;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

#today-quote-page .quote-header {
            background: linear-gradient(135deg, #2e7d32, #4CAF50);
            color: white;
            padding: 20px;
            text-align: center;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }

#today-quote-page h1 {
            color: white;
            font-size: 28px;
            margin: 0 0 10px 0;
        }

#today-quote-page .quote-subtitle {
            color: rgba(255,255,255,0.9);
            font-size: 14px;
            margin: 0;
        }

#today-quote-page .iframe-container {
            flex: 1;
            background: black;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0;
            margin: 0;
        }

#today-quote-page iframe {
            width: 100%;
            height: 100%;
            min-height: 400px;
            border: none;
            display: block;
        }

#today-quote-page .back-button-container {
            background: white;
            padding: 15px;
            text-align: center;
            box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
        }

#today-quote-page .back-button {
            background-color: #4CAF50;
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 8px;
            font-size: 16px;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            transition: background-color 0.3s;
        }

#today-quote-page .back-button:hover {
            background-color: #45a049;
        }

#today-quote-page .loading-container {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 50px 20px;
        }

#today-quote-page .spinner {
            border: 4px solid #f3f3f3;
            border-top: 4px solid #4CAF50;
            border-radius: 50%;
            width: 50px;
            height: 50px;
            animation: spin 1s linear infinite;
            margin-bottom: 20px;
        }

#today-quote-page .loading-container p {
            color: #555;
            font-size: 16px;
        }

#today-quote-page .error-message {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 50px 20px;
            color: #d32f2f;
            font-size: 18px;
            text-align: center;
        }

/* Mobile optimizations */
        @media (max-width: 768px) {
            #today-quote-page h1 {
                font-size: 24px;
            }
            
            #today-quote-page .quote-subtitle {
                font-size: 12px;
            }
            
            #today-quote-page iframe {
                min-height: 300px;
            }
        }

#quote-video-player-page {
            background-color: #f0f8ff;
            padding: 0;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

#quote-video-player-page .quote-header {
            background: linear-gradient(135deg, #2e7d32, #4CAF50);
            color: white;
            padding: 20px;
            text-align: center;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }

#quote-video-player-page h1 {
            color: white;
            font-size: 28px;
            margin: 0 0 10px 0;
        }

#quote-video-player-page .quote-subtitle {
            color: rgba(255,255,255,0.9);
            font-size: 14px;
            margin: 0;
        }

#quote-video-player-page .iframe-container {
            flex: 1;
            background: black;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0;
            margin: 0;
        }

#quote-video-player-page iframe {
            width: 100%;
            height: 100%;
            min-height: 400px;
            border: none;
            display: block;
        }

#quote-video-player-page .back-button-container {
            background: white;
            padding: 15px;
            text-align: center;
            box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
        }

#quote-video-player-page .back-button {
            background-color: #4CAF50;
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 8px;
            font-size: 16px;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            transition: background-color 0.3s;
        }

#quote-video-player-page .back-button:hover {
            background-color: #45a049;
        }

#quote-video-player-page .loading-container {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 50px 20px;
        }

#quote-video-player-page .spinner {
            border: 4px solid #f3f3f3;
            border-top: 4px solid #4CAF50;
            border-radius: 50%;
            width: 50px;
            height: 50px;
            animation: spin 1s linear infinite;
            margin-bottom: 20px;
        }

#quote-video-player-page .loading-container p {
            color: #555;
            font-size: 16px;
        }

#quote-video-player-page .error-message {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 50px 20px;
            color: #d32f2f;
            font-size: 18px;
            text-align: center;
        }

/* Mobile optimizations */
        @media (max-width: 768px) {
            #quote-video-player-page h1 {
                font-size: 24px;
            }
            
            #quote-video-player-page .quote-subtitle {
                font-size: 12px;
            }
            
            #quote-video-player-page iframe {
                min-height: 300px;
            }
        }
