/* Haotzar Hayomi Auth Plugin Styles */

/* Main Container */
#nest-auth-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hide form by default - only show button */
#nest-auth-form {
    display: none;
}

/* Auth Button - Elementor Style */
.auth-button-wrapper {
    text-align: center;
    margin: 20px auto;
    max-width: 1200px;
}

.open-auth-modal {
    font-family: "Roboto Slab", Sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #ffffff;
    background-color: #155264;
    border: none;
    border-radius: 50px;
    padding: 12px 35px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.open-auth-modal:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(21, 82, 100, 0.3);
}

/* Modal Styles */
#auth-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.auth-modal-content {
    background-color: #ffffff;
    margin: 8% auto;
    padding: 0;
    width: 90%;
    max-width: 420px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: slideDown 0.3s ease;
}

/* Modal Header */
.auth-modal-header {
    background: linear-gradient(135deg, #155264 0%, #1a6b7d 100%);
    padding: 25px;
    border-radius: 20px 20px 0 0;
    text-align: center;
}

.auth-modal-header h2 {
    color: #ffffff;
    font-family: "Roboto Slab", Sans-serif;
    font-size: 28px;
    font-weight: 600;
    margin: 0;
}

/* Modal Body */
.auth-modal-body {
    padding: 30px;
}

/* Close Button */
.auth-modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    color: #ffffff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 10;
}

.auth-modal-close:hover {
    color: #f0f0f0;
}

/* Form Styles */
#auth-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#auth-form input {
    width: 100%;
    padding: 12px 18px;
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    font-family: "Roboto Slab", Sans-serif;
    font-size: 15px;
    color: #333;
    transition: all 0.3s ease;
}

#auth-form input:focus {
    outline: none;
    background-color: #ffffff;
    border-color: #155264;
    box-shadow: 0 0 0 3px rgba(21, 82, 100, 0.1);
}

#auth-form input::placeholder {
    color: #999;
}

/* Submit Button */
#auth-submit {
    font-family: "Roboto Slab", Sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #ffffff;
    background-color: #155264;
    border: none;
    border-radius: 50px;
    padding: 12px 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 5px;
}

#auth-submit:hover {
    background-color: #1a6b7d;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(21, 82, 100, 0.3);
}

/* Toggle Link */
.auth-toggle-wrapper {
    text-align: center;
    margin-top: 15px;
}

#toggle-auth-mode {
    color: #155264;
    font-family: "Roboto Slab", Sans-serif;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s;
}

#toggle-auth-mode:hover {
    color: #1a6b7d;
    text-decoration: underline;
}

/* Messages */
#auth-messages {
    margin-bottom: 15px;
}

#auth-messages .success {
    background-color: #d4edda;
    color: #155d27;
    padding: 10px 18px;
    border-radius: 50px;
    font-family: "Roboto Slab", Sans-serif;
    font-size: 14px;
    text-align: center;
}

#auth-messages .error {
    background-color: #f8d7da;
    color: #721c24;
    padding: 10px 18px;
    border-radius: 50px;
    font-family: "Roboto Slab", Sans-serif;
    font-size: 14px;
    text-align: center;
}

/* Active Page Container */
#active-page-container {
    margin: 30px auto;
    max-width: 1200px;
    text-align: center;
}

#active-page-container h2 {
    font-family: "Roboto Slab", Sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: #155264;
    text-align: center;
    margin-bottom: 20px;
}

#active-page-container iframe {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    display: block;
}

/* Learning Buttons */
.learning-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

.learning-btn {
    font-family: "Roboto Slab", Sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #ffffff;
    background: linear-gradient(135deg, #155264 0%, #1a6b7d 100%);
    border: none;
    border-radius: 50px;
    padding: 12px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.learning-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(21, 82, 100, 0.3);
}

/* Request New Page Button */
#request-new-page {
    font-family: "Roboto Slab", Sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #155264;
    background-color: transparent;
    border: 2px solid #155264;
    border-radius: 50px;
    padding: 12px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 20px auto 0;
}

#request-new-page:hover {
    background-color: #155264;
    color: #ffffff;
}

/* Logout Button */
#logout-button {
    font-family: "Roboto Slab", Sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #721c24;
    background-color: #f8d7da;
    border: none;
    border-radius: 50px;
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 20px auto;
    display: block;
}

#logout-button:hover {
    background-color: #f5c6cb;
}

/* ========================================
   Dflip Viewer Specific Styles
   ======================================== */

/* Dflip Container */
.dflip-viewer-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Viewer Toggle Button */
.viewer-toggle {
    margin: 15px 0;
    text-align: center;
}

.viewer-switch-btn {
    font-family: "Roboto Slab", Sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #155264;
    background-color: #f0f0f0;
    border: 1px solid #155264;
    border-radius: 25px;
    padding: 8px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.viewer-switch-btn:hover {
    background-color: #155264;
    color: #ffffff;
}

/* Dflip Book Container */
._df_book,
#df_manual_book,
#dflip-pdf-container {
    width: 100%;
    max-width: 100%;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
    background: #ffffff;
}

/* Override Dflip default styles to match theme */
._df_book .df-ui-btn,
.df-ui-btn {
    background-color: #155264 !important;
    color: #ffffff !important;
    border-radius: 50px !important;
    transition: all 0.3s ease !important;
}

._df_book .df-ui-btn:hover,
.df-ui-btn:hover {
    background-color: #1a6b7d !important;
    transform: translateY(-2px) !important;
}

/* Dflip controls customization */
._df_book .df-ui-controls,
.df-ui-controls {
    background: rgba(21, 82, 100, 0.95) !important;
    border-radius: 10px !important;
    padding: 10px !important;
}

/* Dflip page numbers */
._df_book .df-ui-page-num,
.df-ui-page-num {
    font-family: "Roboto Slab", Sans-serif !important;
    color: #ffffff !important;
}

/* Dflip loading */
._df_book .df-loading-info,
.df-loading-info {
    font-family: "Roboto Slab", Sans-serif !important;
    color: #155264 !important;
}

/* ========================================
   Original PDF Viewer Styles
   ======================================== */

/* PDF Viewer Container */
.pdf-viewer-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.pdf-header {
    margin-bottom: 20px;
}

.pdf-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 15px;
}

.pdf-prev, .pdf-next {
    font-family: "Roboto Slab", Sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #155264;
    background-color: transparent;
    border: 2px solid #155264;
    border-radius: 50px;
    padding: 8px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pdf-prev:hover, .pdf-next:hover {
    background-color: #155264;
    color: #ffffff;
}

.pdf-prev:disabled, .pdf-next:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pdf-page-info {
    font-family: "Roboto Slab", Sans-serif;
    font-size: 16px;
    color: #155264;
}

/* Swiper Styles for PDF */
.pdf-swiper {
    width: 100%;
    height: 700px;
    margin: 20px 0;
}

.pdf-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f5f5f5;
}

.pdf-swiper .swiper-slide canvas {
    max-width: 100%;
    max-height: 100%;
    width: auto !important;
    height: auto !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.pdf-swiper .swiper-pagination {
    bottom: -30px;
}

.pdf-swiper .swiper-pagination-fraction {
    font-family: "Roboto Slab", Sans-serif;
    color: #155264;
    font-size: 16px;
}

/* Loading Spinner */
.pdf-loading {
    padding: 60px 20px;
}

.spinner {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #155264;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* ========================================
   Responsive Design
   ======================================== */

/* Tablet styles */
@media (max-width: 768px) {
    .auth-modal-content {
        width: 95%;
        margin: 15% auto;
    }
    
    .learning-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .learning-btn {
        width: 80%;
        max-width: 300px;
    }
    
    /* Dflip responsive */
    ._df_book,
    #df_manual_book {
        height: 500px !important;
    }
    
    .dflip-viewer-container {
        padding: 10px;
    }
}

/* Mobile styles */
@media (max-width: 480px) {
    .auth-modal-header h2 {
        font-size: 24px;
    }
    
    .auth-modal-body {
        padding: 20px;
    }
    
    #active-page-container h2 {
        font-size: 24px;
    }
    
    .pdf-swiper {
        height: 400px;
    }
    
    .pdf-controls {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .pdf-prev, .pdf-next {
        font-size: 14px;
        padding: 6px 15px;
    }
    
    /* Dflip mobile optimization */
    ._df_book,
    #df_manual_book {
        height: 400px !important;
    }
    
    .viewer-switch-btn {
        font-size: 12px;
        padding: 6px 15px;
    }
    
    /* Dflip controls mobile */
    ._df_book .df-ui-controls {
        padding: 5px !important;
    }
    
    ._df_book .df-ui-btn {
        padding: 5px 10px !important;
        font-size: 12px !important;
    }
}

/* Hide Dflip print/download buttons if needed */
._df_book .df-ui-btn.df-ui-download,
._df_book .df-ui-btn.df-ui-print,
.df-ui-btn.df-ui-download,
.df-ui-btn.df-ui-print {
    display: none !important;
}

/* ========================================
   3 Shortcodes חדשים - עיצוב
   ======================================== */

/* Loading Spinner */
.loading-spinner {
    text-align: center;
    padding: 40px 20px;
}

/* Shortcode #1: דף יומי כללי */
.global-daily-page-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 0 20px;
}

.global-daily-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 5px 30px rgba(21, 82, 100, 0.15);
    padding: 30px;
    text-align: center;
}

.global-daily-card .daily-title {
    font-family: "Roboto Slab", Sans-serif;
    font-size: 32px;
    font-weight: 600;
    color: #155264;
    margin-bottom: 20px;
}

.global-daily-card .daily-date {
    font-family: "Roboto Slab", Sans-serif;
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
}

.global-daily-card .page-title {
    font-family: "Roboto Slab", Sans-serif;
    font-size: 24px;
    font-weight: 500;
    color: #155264;
    margin: 20px 0;
}

.global-daily-card .page-stats {
    font-size: 14px;
    color: #666;
    margin-top: 10px;
}

.view-page-btn {
    font-family: "Roboto Slab", Sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #ffffff;
    background: linear-gradient(135deg, #155264 0%, #1a6b7d 100%);
    border: none;
    border-radius: 50px;
    padding: 15px 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.view-page-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(21, 82, 100, 0.3);
}

/* Shortcode #2: Dashboard אישי */
.my-learning-dashboard-container {
    max-width: 900px;
    margin: 20px auto;
    padding: 0 20px;
}

.learning-dashboard {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 5px 30px rgba(21, 82, 100, 0.15);
    padding: 30px;
}

.dashboard-welcome {
    font-family: "Roboto Slab", Sans-serif;
    font-size: 32px;
    font-weight: 600;
    color: #155264;
    text-align: center;
    margin-bottom: 20px;
}

.dashboard-divider {
    border: none;
    border-top: 2px solid #e0e0e0;
    margin: 25px 0;
}

.dashboard-section {
    margin: 25px 0;
}

.dashboard-section h3 {
    font-family: "Roboto Slab", Sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #155264;
    margin-bottom: 15px;
}

.dashboard-section h4 {
    font-family: "Roboto Slab", Sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #155264;
    margin: 15px 0 10px;
}

.section-content {
    font-family: "Roboto Slab", Sans-serif;
    font-size: 18px;
    color: #333;
    margin: 10px 0;
}

/* Progress Bar */
.progress-summary {
    margin: 20px 0;
}

.progress-bar-container {
    margin: 15px 0;
}

.progress-label {
    font-family: "Roboto Slab", Sans-serif;
    font-size: 16px;
    color: #155264;
    margin-bottom: 10px;
}

.progress-bar {
    width: 100%;
    height: 30px;
    background-color: #f0f0f0;
    border-radius: 50px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #155264 0%, #1a6b7d 100%);
    transition: width 0.5s ease;
    border-radius: 50px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin: 15px 0;
}

.stat-item {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 15px;
    text-align: center;
    font-family: "Roboto Slab", Sans-serif;
    font-size: 16px;
    color: #333;
}

.today-page-title {
    font-family: "Roboto Slab", Sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: #155264;
    margin: 10px 0;
}

.status-completed {
    color: #28a745;
    font-weight: 600;
    margin: 10px 0;
}

.status-pending {
    color: #ffc107;
    font-weight: 600;
    margin: 10px 0;
}

.dashboard-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.dashboard-btn {
    font-family: "Roboto Slab", Sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #ffffff;
    background: linear-gradient(135deg, #155264 0%, #1a6b7d 100%);
    border: none;
    border-radius: 50px;
    padding: 12px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 200px;
}

.dashboard-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(21, 82, 100, 0.3);
}

.dashboard-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Start Journey Form */
.start-journey-form {
    margin-top: 20px;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 15px;
}

.start-journey-form label {
    display: block;
    font-family: "Roboto Slab", Sans-serif;
    font-size: 16px;
    color: #155264;
    margin-bottom: 10px;
}

#start-page-input {
    width: 100%;
    max-width: 200px;
    padding: 10px 15px;
    font-family: "Roboto Slab", Sans-serif;
    font-size: 16px;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    margin-bottom: 15px;
}

/* Shortcode #3: Manager Dashboard עם טאבים */
.manager-dashboard-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

.manager-dashboard-tabs {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 5px 30px rgba(21, 82, 100, 0.15);
    padding: 30px;
}

.manager-title {
    font-family: "Roboto Slab", Sans-serif;
    font-size: 32px;
    font-weight: 600;
    color: #155264;
    text-align: center;
    margin-bottom: 30px;
}

/* Tabs Navigation */
.tabs-nav {
    display: flex;
    gap: 10px;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-btn {
    font-family: "Roboto Slab", Sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    color: #155264;
    background: #f9f9f9;
}

.tab-btn.active {
    color: #155264;
    border-bottom-color: #155264;
    font-weight: 600;
}

/* Tabs Content */
.tabs-content {
    min-height: 400px;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.3s ease-in;
}

.tab-pane.active {
    display: block;
}

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

/* Tab Sections */
.tab-section {
    margin: 20px 0;
}

.tab-section h3 {
    font-family: "Roboto Slab", Sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #155264;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.tab-section h4 {
    font-family: "Roboto Slab", Sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 20px 0 15px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.stat-card {
    background: linear-gradient(135deg, #155264 0%, #1a6a7e 100%);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(21, 82, 100, 0.2);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(21, 82, 100, 0.3);
}

.stat-value {
    font-family: "Roboto Slab", Sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.stat-label {
    font-family: "Roboto Slab", Sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

/* Info Cards & Alerts */
.info-card, .alert {
    padding: 15px 20px;
    border-radius: 10px;
    margin: 15px 0;
}

.info-card {
    background: #f9f9f9;
    border-left: 4px solid #155264;
}

.alert-info {
    background: #d1ecf1;
    border-left: 4px solid #0c5460;
    color: #0c5460;
}

.alert-warning {
    background: #fff3cd;
    border-left: 4px solid #856404;
    color: #856404;
}

/* Forms */
.daily-page-form, .form-group {
    margin: 20px 0;
}

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

.form-group label {
    display: block;
    font-family: "Roboto Slab", Sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    max-width: 400px;
    padding: 12px 15px;
    font-family: "Roboto Slab", Sans-serif;
    font-size: 14px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #155264;
}

/* Buttons */
.btn {
    font-family: "Roboto Slab", Sans-serif;
    font-size: 16px;
    font-weight: 500;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 5px;
}

.btn-primary {
    background: #155264;
    color: #ffffff;
}

.btn-primary:hover {
    background: #1a6a7e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(21, 82, 100, 0.3);
}

.btn-danger {
    background: #dc3545;
    color: #ffffff;
}

.btn-danger:hover {
    background: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

/* Round Cards */
.round-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 15px;
    margin: 15px 0;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #f0f0f0;
}

.round-card h4 {
    font-family: "Roboto Slab", Sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #155264;
    margin-bottom: 15px;
}

.round-details p {
    font-family: "Roboto Slab", Sans-serif;
    font-size: 14px;
    color: #333;
    margin: 8px 0;
}

/* Progress Bar */
.progress-bar {
    width: 100%;
    height: 10px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    margin: 10px 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #155264 0%, #1a6a7e 100%);
    transition: width 0.3s ease;
}

/* Users Table */
.users-table-container {
    overflow-x: auto;
    margin: 20px 0;
}

.users-table {
    width: 100%;
    border-collapse: collapse;
    font-family: "Roboto Slab", Sans-serif;
}

.users-table thead {
    background: #155264;
    color: #ffffff;
}

.users-table th, .users-table td {
    padding: 12px 15px;
    text-align: right;
    border-bottom: 1px solid #e0e0e0;
}

.users-table th {
    font-weight: 600;
    font-size: 14px;
}

.users-table td {
    font-size: 14px;
    color: #333;
}

.users-table tbody tr:hover {
    background: #f9f9f9;
}

/* Personal Progress */
.progress-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.progress-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #f0f0f0;
}

.progress-header {
    font-family: "Roboto Slab", Sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #155264;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.progress-card p {
    font-family: "Roboto Slab", Sans-serif;
    font-size: 14px;
    color: #333;
    margin: 8px 0;
}

/* Utility Classes */
.loading {
    text-align: center;
    padding: 40px;
    font-family: "Roboto Slab", Sans-serif;
    font-size: 18px;
    color: #666;
}

.error {
    text-align: center;
    padding: 20px;
    color: #dc3545;
    font-family: "Roboto Slab", Sans-serif;
}

.no-data {
    text-align: center;
    padding: 30px;
    color: #999;
    font-family: "Roboto Slab", Sans-serif;
    font-style: italic;
}

.info-text {
    color: #666;
    font-style: italic;
    font-size: 14px;
}

/* ========================================
   Responsive Design for New Shortcodes
   ======================================== */

@media (max-width: 768px) {
    .global-daily-card {
        padding: 20px;
    }
    
    .global-daily-card .daily-title {
        font-size: 24px;
    }
    
    .dashboard-welcome {
        font-size: 24px;
    }
    
    .dashboard-section h3 {
        font-size: 20px;
    }
    
    .dashboard-actions {
        flex-direction: column;
    }
    
    .dashboard-btn {
        min-width: 100%;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .manager-title {
        font-size: 24px;
    }
    
    .manager-dashboard-tabs {
        padding: 20px;
    }
    
    .tabs-nav {
        gap: 5px;
    }
    
    .tab-btn {
        font-size: 14px;
        padding: 10px 15px;
    }
    
    .progress-list {
        grid-template-columns: 1fr;
    }
    
    .users-table {
        font-size: 12px;
    }
    
    .users-table th, .users-table td {
        padding: 8px 10px;
    }
}

@media (max-width: 480px) {
    .global-daily-card .page-title {
        font-size: 18px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-value {
        font-size: 28px;
    }
    
    .manager-title {
        font-size: 20px;
    }
    
    .tab-btn {
        font-size: 13px;
        padding: 8px 12px;
    }
    
    .form-control {
        max-width: 100%;
    }
    
    .btn {
        width: 100%;
        margin: 5px 0;
    }
}