/**
 * style.css — Subtitler.online Common Styles
 * Version: 1.0.0 | Light Theme
 * Used by: index.php, account.php
 * Blocks: ~400 lines
 */

/* ============================================
   @block CSS:RESET:001 — Reset & Base
   ============================================ */
* { box-sizing: border-box; }

body { 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; 
    background: #f4f6f8; 
    margin: 0; 
    padding: 0; 
    color: #333; 
}

/* ============================================
   @block CSS:LAYOUT:001 — Layout Containers
   ============================================ */
.container { 
    max-width: 900px; 
    margin: 40px auto; 
    padding: 20px; 
}
.container-narrow { 
    max-width: 800px; 
}

.card { 
    background: white; 
    border-radius: 12px; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); 
    padding: 30px; 
    margin-bottom: 20px; 
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    color: inherit;
}
.logo-accent {
    color: #007bff;
}

/* ============================================
   @block CSS:TYPOGRAPHY:001 — Typography
   ============================================ */
h1, h2, h3 { margin-top: 0; }

/* ============================================
   @block CSS:BUTTONS:001 — Buttons
   ============================================ */
.btn { 
    background: #007bff; 
    color: white; 
    padding: 10px 20px; 
    border: none; 
    border-radius: 6px; 
    cursor: pointer; 
    font-size: 16px; 
    text-decoration: none; 
    display: inline-block; 
    transition: background 0.2s; 
}
.btn:hover { background: #0056b3; }

.btn-outline { 
    background: transparent; 
    border: 1px solid #007bff; 
    color: #007bff; 
}
.btn-outline:hover { 
    background: #007bff; 
    color: white; 
}

.btn-secondary { background: #6c757d; }
.btn-secondary:hover { background: #5a6268; }

.btn-success { background: #28a745; }
.btn-success:hover { background: #218838; }

.btn-danger { background: #dc3545; }
.btn-danger:hover { background: #c82333; }

.btn-warning { background: #ffc107; color: #212529; }
.btn-warning:hover { background: #e0a800; }

.btn-sm { padding: 6px 12px; font-size: 14px; }

.btn-link { 
    background: none; 
    border: none; 
    color: #007bff; 
    cursor: pointer; 
    padding: 0; 
    font-size: 14px; 
}
.btn-link:hover { text-decoration: underline; }

/* ============================================
   @block CSS:FORMS:001 — Form Elements
   ============================================ */
input[type="text"], 
input[type="email"], 
input[type="password"], 
input[type="number"],
select, 
textarea { 
    width: 100%; 
    padding: 10px; 
    margin: 8px 0 15px; 
    border: 1px solid #ddd; 
    border-radius: 6px; 
    font-size: 14px; 
}

input:focus, select:focus, textarea:focus { 
    outline: none; 
    border-color: #007bff; 
}

label { 
    font-weight: 500; 
    color: #555; 
    display: block; 
    margin-bottom: 5px; 
}

.hint { 
    font-size: 12px; 
    color: #888; 
    margin-top: -10px; 
    margin-bottom: 15px; 
}

/* Password Toggle */
.password-wrapper { 
    position: relative; 
    margin: 8px 0 15px; 
}
.password-wrapper input { 
    width: 100%; 
    padding: 10px; 
    padding-right: 45px; 
    border: 1px solid #ddd; 
    border-radius: 6px; 
    font-size: 14px; 
    margin: 0;
}
.password-toggle { 
    position: absolute; 
    right: 10px; 
    top: 50%; 
    transform: translateY(-50%);
    background: none; 
    border: none; 
    cursor: pointer; 
    color: #666;
    font-size: 16px; 
    padding: 5px;
}
.password-toggle:hover { color: #007bff; }

/* ============================================
   @block CSS:ALERTS:001 — Alerts
   ============================================ */
.alert { 
    padding: 12px 15px; 
    border-radius: 6px; 
    margin-bottom: 20px; 
}
.alert-error { 
    background: #fde8e8; 
    color: #c81e1e; 
    border: 1px solid #f8b4b4; 
}
.alert-success { 
    background: #d4edda; 
    color: #155724; 
    border: 1px solid #c3e6cb; 
}
.alert-info { 
    background: #e7f3ff; 
    color: #004085; 
    border: 1px solid #b8daff; 
}

/* ============================================
   @block CSS:TABS:001 — Unified Tab System
   ============================================ */
.tabs-nav { 
    display: flex; 
    border-bottom: 2px solid #eee; 
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 5px;
}

.tab-link { 
    padding: 12px 20px; 
    cursor: pointer; 
    font-weight: 500; 
    color: #666; 
    transition: all 0.2s; 
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}
.tab-link:hover { color: #007bff; }
.tab-link.active { 
    color: #007bff; 
    border-bottom-color: #007bff; 
}
.tab-link.danger { color: #dc3545; }
.tab-link.danger.active { border-bottom-color: #dc3545; }

.tab-content { display: none; }
.tab-content.active { display: block; }

/* @block CSS:PULSE:001 — пульсация неактивного таба Plugin */
@keyframes tabPulse {
    0%   { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.0); color: inherit; }
    50%  { box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.25); color: #6366f1; }
    100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.0); color: inherit; }
}

.tab-link.tab-pulse {
    animation: tabPulse 2.5s ease-in-out infinite !important;
    transition: none !important;
}

.tab-link.tab-pulse.active {
    animation: none !important;
    transition: all 0.2s !important;
}

/* ============================================
   @block CSS:USER:001 — User Info & Balance
   ============================================ */
.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.user-email {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}
.user-email:hover { text-decoration: underline; }

.balance-badge {
    background: #28a745;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
}
.balance-badge.low { background: #ffc107; color: #212529; }
.balance-badge.empty { background: #dc3545; }

/* ============================================
   @block CSS:LANGMODAL:001 — Language Modal
   ============================================ */
.lang-btn {
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 4px 12px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    min-width: 44px;
    transition: all 0.2s;
}
.lang-btn:hover {
    border-color: #007bff;
    background: #f8f9fa;
}

.flag-img {
    vertical-align: middle;
    border-radius: 2px;
    display: block;
}
.currency-symbol {
    font-size: 18px;
    font-weight: 700;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f4f8;
    border-radius: 50%;
    color: #333;
    line-height: 1;
    flex-shrink: 0;
}
.lang-option:hover .currency-symbol {
    background: #e0e7ef;
}
.lang-option.active .currency-symbol {
    background: #d0e2ff;
    color: #0055cc;
}

.lang-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s ease;
}
.lang-modal-overlay.show { display: flex; }

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lang-modal {
    background: white;
    border-radius: 16px;
    padding: 24px;
    min-width: 280px;
    max-width: 90%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.lang-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.lang-modal-header h3 { 
    margin: 0; 
    font-size: 18px; 
    color: #333; 
}

.lang-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    padding: 0;
    line-height: 1;
}
.lang-modal-close:hover { color: #333; }

.lang-options { 
    display: flex; 
    flex-direction: column; 
    gap: 8px; 
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border: 2px solid #eee;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    background: white;
}
.lang-option:hover { 
    border-color: #007bff; 
    background: #f8f9fa; 
}
.lang-option.active { 
    border-color: #007bff; 
    background: #e7f3ff; 
}

.lang-option-flag { font-size: 28px; line-height: 1; }
.lang-option-info { flex: 1; }
.lang-option-name { font-weight: 600; color: #333; font-size: 15px; }
.lang-option-native { font-size: 13px; color: #666; }
.lang-option-check { color: #007bff; font-size: 20px; opacity: 0; }
.lang-option.active .lang-option-check { opacity: 1; }

/* ============================================
   @block CSS:MODAL:001 — Generic Modal
   ============================================ */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}
.modal-overlay.show { display: flex; }

.modal {
    background: white;
    border-radius: 12px;
    padding: 30px;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}
.modal h3 { margin-top: 0; }

.modal-info {
    background: #f9fafb;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
}
.modal-info-row {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
}
.modal-info-row span:first-child { color: #666; }
.modal-info-row span:last-child { font-weight: 500; }

.modal-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
}

/* ============================================
   @block CSS:TABLE:001 — Tables
   ============================================ */
table { 
    width: 100%; 
    border-collapse: collapse; 
}
th, td { 
    padding: 10px 8px; 
    text-align: left; 
    border-bottom: 1px solid #eee; 
}
th { 
    background: #f9fafb; 
    font-weight: 500; 
    font-size: 13px; 
    white-space: nowrap; 
}

/* ============================================
   @block CSS:FOOTER:001 — Footer
   ============================================ */
.footer {
    text-align: center;
    padding: 30px 20px;
    color: #888;
    font-size: 14px;
    border-top: 1px solid #eee;
    margin-top: 40px;
}
.footer a { color: #007bff; }
.footer-version {
    font-size: 12px;
    color: #aaa;
}

/* ============================================
   @block CSS:UTILS:001 — Utilities
   ============================================ */
.hidden { display: none !important; }
.text-center { text-align: center; }
.text-danger { color: #dc3545; }
.text-success { color: #28a745; }
.text-muted { color: #888; }

/* ============================================
   @block CSS:RESPONSIVE:001 — Responsive
   ============================================ */
@media (max-width: 600px) {
    .container { 
        padding: 10px; 
        margin: 20px auto; 
    }
    .header { 
        flex-direction: column; 
        align-items: flex-start; 
    }
    .tabs-nav { 
        flex-direction: column; 
    }
    .tab-link { 
        border-bottom: none; 
        border-left: 2px solid transparent; 
        margin-bottom: 0; 
        margin-left: -2px; 
    }
    .tab-link.active { 
        border-left-color: #007bff; 
    }
    .user-info { 
        flex-direction: column; 
        align-items: flex-start; 
    }
    .modal {
        padding: 20px;
        margin: 10px;
    }
}
/* ================================================================
   @block CSS:CURRENCY:001 @desc Currency disclaimer + header fix
   ================================================================ */
.currency-disclaimer {
    text-align: center;
    font-size: 12px;
    color: #9ca3af;
    margin-top: 16px;
    font-style: italic;
}
.token-input-wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 4px;
}
.token-input-unit {
    font-size: 13px;
    color: #6b7280;
    white-space: nowrap;
}
.user-info {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 8px;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
.header-right {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 8px;
}

/* ================================================================
   @block CSS:AUTH:001 @desc Compact auth component
   ================================================================ */
.auth-card {
    padding: 10px 16px 8px;
}
.auth-compact {
    max-width: 480px;
    margin: 0 auto;
}
.auth-compact .tabs-nav {
    margin-bottom: 0;
    gap: 0;
}
.auth-compact .tab-link {
    padding: 4px 16px;
    font-size: 13px;
}
.auth-form {
    padding: 4px 0 0;
}

.auth-fields-row {
    display: flex;
    gap: 6px;
}
.auth-fields-row .auth-field {
    flex: 1;
    min-width: 0;
    margin-bottom: 0;
}

.auth-field {
    margin-bottom: 3px;
}
.auth-field input[type="email"],
.auth-field input[type="password"] {
    width: 100%;
    padding: 6px 10px;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    font-size: 13px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    line-height: 1.3;
}
.auth-field input:focus {
    outline: none;
    border-color: #2563eb;
    -webkit-box-shadow: 0 0 0 2px rgba(37,99,235,0.15);
    box-shadow: 0 0 0 2px rgba(37,99,235,0.15);
}
.auth-field .password-wrapper {
    position: relative;
}
.auth-field .password-wrapper input {
    padding-right: 36px;
}
.auth-field .password-toggle {
    position: absolute;
    right: 6px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 2px;
    font-size: 14px;
    line-height: 1;
}
.auth-hint {
    font-size: 10px;
    color: #9ca3af;
    margin: 0 0 3px;
    line-height: 1.2;
}
.btn-full {
    width: 100%;
    padding: 6px 12px;
    font-size: 13px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.hero-desc {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 4px;
    line-height: 1.4;
}
@media (max-width: 480px) {
    .auth-compact { max-width: 100%; }
    .auth-fields-row {
        flex-direction: column;
        gap: 3px;
    }
    .auth-fields-row .auth-field {
        margin-bottom: 0;
    }
    .auth-field input[type="email"],
    .auth-field input[type="password"] {
        padding: 8px 10px;
        font-size: 16px;
    }
    .btn-full { padding: 9px 12px; font-size: 14px; }
}

/* ================================================================
   @block CSS:PLAN:001 @desc Subscription plan card + promo form
   ================================================================ */
.plan-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
}
.plan-card.plan-active {
    border-color: #2563eb;
    background: #eff6ff;
}
.plan-name {
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}
.plan-balance {
    font-size: 32px;
    font-weight: bold;
    color: #2563eb;
    margin: 8px 0;
}
.plan-details {
    font-size: 13px;
    color: #6b7280;
}
.plan-upgrade {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
}
.plan-upgrade:hover {
    text-decoration: underline;
}
.promo-form {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 8px;
    max-width: 360px;
}
.promo-form input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    font-family: monospace;
    letter-spacing: 1px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.promo-form input:focus {
    outline: none;
    border-color: #2563eb;
}

/* ================================================================
   @block CSS:FOOTER:002 @desc Footer with columns, legal, payment
   ================================================================ */
.site-footer {
    max-width: 900px;
    margin: 40px auto 0;
    padding: 24px 20px 16px;
    border-top: 1px solid #e5e7eb;
}
.footer-columns {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 24px;
    margin-bottom: 20px;
}
.footer-col {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    min-width: 0;
}
.footer-col-left {
    font-size: 11px;
    color: #6b7280;
    line-height: 1.6;
    padding-right: 20px;
    border-right: 1px solid #e5e7eb;
}
.footer-business {
    font-weight: 600;
    margin: 0 0 4px;
    color: #4b5563;
    font-size: 12px;
}
.footer-legal {
    margin: 0;
}
.footer-col-right {
    font-size: 11px;
    line-height: 1.7;
    padding-left: 20px;
}
.footer-col-right p {
    margin: 0 0 8px;
}
.footer-col-right a {
    color: #2563eb;
    text-decoration: none;
}
.footer-col-right a:hover {
    text-decoration: underline;
}
.footer-contact {
    color: #6b7280;
    font-size: 11px;
    margin: 0;
}
.footer-contact a {
    color: #2563eb;
}
.footer-payment {
    text-align: center;
    margin: 16px 0 12px;
    padding: 0 20px;
}
.footer-bepaid {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
.footer-version {
    text-align: center;
    font-size: 11px;
    color: #9ca3af;
    margin-top: 8px;
}
@media (max-width: 600px) {
    .footer-columns {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        gap: 16px;
    }
    .footer-col-left {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid #e5e7eb;
        padding-bottom: 16px;
    }
    .footer-col-right {
        padding-left: 0;
    }
}

/* ============================================================
   CSS:SETTINGS:001 — Compact settings row for upload form
   ============================================================ */

.settings-row {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.setting-card {
    flex: 1;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px;
    transition: border-color 0.2s;
}

.setting-card:hover {
    border-color: #007bff;
}

.setting-card label {
    display: block;
    font-size: 0.82em;
    color: #888;
    margin-bottom: 5px;
}

.setting-card select {
    width: 100%;
    padding: 6px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9em;
    background: #fff;
}

.setting-card-checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
}

.setting-card-checkbox .checkbox-label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 0.88em;
    color: #555;
    margin: 0;
    white-space: nowrap;
}

.setting-card-checkbox .checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #007bff;
}



/* Responsive: stack settings vertically on mobile */
@media (max-width: 600px) {
    .settings-row {
        flex-direction: column;
        gap: 8px;
    }
}
/* ============================================================
   CSS:AUTH:002 — Compact auth card overrides
   ============================================================ */

.auth-card {
    padding: 12px 20px 16px;
}

.auth-card .tabs-nav {
    margin-bottom: 6px;
}

.auth-card .auth-field {
    margin-bottom: 4px;
}

.auth-card .auth-form {
    padding-top: 2px;
}

.auth-card .auth-hint {
    margin: 2px 0 4px;
    font-size: 0.8em;
}

.auth-card .btn-full {
    margin-top: 4px;
}

/* ============================================================
   CSS:TABLE:001 — Compact task history table
   ============================================================ */

.task-table {
    font-size: 0.82em;
    border-collapse: collapse;
    width: 100%;
    line-height: 1.1;
}

.task-table td,
.task-table th {
    padding: 2px 6px !important;
    line-height: 1.1 !important;
    vertical-align: middle;
    white-space: nowrap;
}

.task-table td *,
.task-table th * {
    margin: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    line-height: 1.1 !important;
}

.task-table .btn-sm,
.task-table select {
    padding: 1px 5px !important;
    font-size: 0.8em;
    height: auto;
    min-height: 0;
}

.task-table tr {
    height: auto !important;
}

/* ============================================
   @block CSS:OAUTH:001 — Google Sign-in Button
   ============================================ */
.google-signin-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    padding: 10px 16px;
    background: #fff;
    border: 1px solid #dadce0;
    border-radius: 6px;
    color: #3c4043;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, box-shadow 0.2s;
}
.google-signin-btn:hover {
    background: #f7f8f8;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}
.google-signin-btn:active {
    background: #eee;
}
.google-signin-btn svg {
    flex-shrink: 0;
}

/* ============================================
   CSS:PAGINATION:001 — Task history paginator
   ============================================ */
.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 12px;
    align-items: center;
}

.pagination-btn {
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    border: 1px solid #dee2e6;
    background: #fff;
    color: #333;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    line-height: 1;
    transition: all 0.15s;
}

.pagination-btn:hover:not(:disabled) {
    background: #e9ecef;
    border-color: #adb5bd;
}

.pagination-btn.active {
    background: #007bff;
    border-color: #007bff;
    color: #fff;
    font-weight: 600;
    cursor: default;
}

.pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pagination-ellipsis {
    line-height: 32px;
    color: #999;
    font-size: 13px;
    padding: 0 2px;
}

/* ============================================
   CSS:PAGINATION:002 — bottom controls row
   ============================================ */
.pagination-controls {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.pagination-controls label {
    font-size: 13px;
    color: #555;
    margin-left: auto; /* прижимает label+select вправо */
}

.pagination-controls select {
    width: 56px;      /* вмещает "100" + стрелку */
    height: 30px;
    padding: 0 4px;
    font-size: 13px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
}

/* ============================================
   CSS:TASKCONTROLS:001 — rows-per-page control
   ============================================ */
.task-history-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 13px;
    color: #555;
}

.task-history-controls select {
    height: 30px;
    padding: 0 6px;
    font-size: 13px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
}