* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 40px;
    max-width: 600px;
    width: 100%;
}

h1 {
    color: #333;
    text-align: center;
    margin-bottom: 10px;
    font-size: 2.5em;
}

.back-btn {
    display: inline-block;
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 20px;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: #f0f0f0;
    transform: translateX(-5px);
}

.subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1em;
}

.current-time {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.time-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9em;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
}

.sync-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75em;
    font-weight: 600;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: pulse 2s ease-in-out infinite;
    display: inline-block;
    text-align: center;
}

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


.time-display {
    color: white;
    font-size: 2.5em;
    font-weight: bold;
    font-family: 'Courier New', monospace;
}

.date-display {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85em;
    margin-top: 8px;
    font-weight: 500;
    text-transform: capitalize;
}

.input-section {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
}

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

.input-group:last-of-type {
    margin-bottom: 25px;
}

label {
    display: block;
    color: #555;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 1em;
}

input[type="number"] {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1.1em;
    transition: all 0.3s ease;
}

input[type="number"]:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.btn-calculate {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.2em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-calculate:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(102, 126, 234, 0.5);
}

.btn-calculate:active {
    transform: translateY(0);
}

.results {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    animation: fadeIn 0.5s ease;
}

.results.hidden {
    display: none;
}

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

.result-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

.result-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.result-card.highlight {
    background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
    border-color: #fdcb6e;
}

.result-card.success {
    background: linear-gradient(135deg, #a8e6cf 0%, #56ab2f 100%);
    border-color: #56ab2f;
}

.result-card.success .result-label,
.result-card.success .result-value {
    color: white;
}

.result-card.info {
    background: linear-gradient(135deg, #a8caba 0%, #5d9cec 100%);
    border-color: #5d9cec;
}

.result-card.info .result-label,
.result-card.info .result-value {
    color: white;
}

.result-label {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 8px;
    font-weight: 600;
}

.result-value {
    color: #333;
    font-size: 1.5em;
    font-weight: bold;
    font-family: 'Courier New', monospace;
}

.menu-container {
    max-width: 900px;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.menu-card {
    background: white;
    border: 3px solid #e0e0e0;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    border-color: #667eea;
}

.menu-card.special {
    background: linear-gradient(135deg, #fff5e6 0%, #ffe4b3 100%);
    border-color: #ffa500;
}

.menu-card.special:hover {
    border-color: #ff8c00;
    box-shadow: 0 10px 30px rgba(255, 165, 0, 0.3);
}

.menu-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.menu-title {
    color: #333;
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 10px;
}

.menu-description {
    color: #666;
    font-size: 0.95em;
}

.special-subtitle {
    color: #ff8c00;
    font-weight: 600;
}

.input-note {
    display: block;
    color: #888;
    font-size: 0.85em;
    margin-top: 5px;
    font-style: italic;
}

.time-input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1.1em;
    transition: all 0.3s ease;
}

.time-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.bem-special {
    background: linear-gradient(135deg, #fff5e6 0%, #ffe4b3 50%);
    padding: 15px;
    border-radius: 10px;
    border: 2px dashed #ffa500;
}

.dedication-banner {
    text-align: center;
    margin: 20px 0 30px 0;
    animation: fadeIn 1s ease;
}

.dedication-banner .gift-icon {
    font-size: 1.5em;
    margin-bottom: 5px;
    display: block;
}

.dedication-banner .gift-text {
    font-size: 0.9em;
    font-weight: 500;
    line-height: 1.6;
    color: #666;
}

.dedication-banner .gift-author {
    font-weight: 700;
    color: #666;
}

.author-footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
}

.author-footer p {
    color: #888;
    font-size: 0.9em;
    font-weight: 500;
    letter-spacing: 0.5px;
}

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

/* ============================================ */
/* ВЕСТИ RSS STILOVI */
/* ============================================ */

.news-widget-container {
    margin: 30px 0;
    animation: fadeIn 0.8s ease;
}

.news-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 25px;
    color: white;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.news-title {
    font-size: 1.3em;
    font-weight: 600;
}

.news-time {
    font-size: 0.75em;
    opacity: 0.8;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.news-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.news-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.news-item-content {
    flex: 1;
}

.news-item-title {
    font-size: 1em;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.news-item-description {
    font-size: 0.85em;
    opacity: 0.9;
    margin-bottom: 8px;
    line-height: 1.5;
}

.news-item-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.75em;
    opacity: 0.8;
}

.news-item-time {
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-item-arrow {
    font-size: 1.5em;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.news-item:hover .news-item-arrow {
    opacity: 1;
    transform: translateX(5px);
}

.news-loading,
.news-error {
    text-align: center;
    padding: 30px;
    font-size: 1.1em;
    color: white;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    animation: pulse 2s ease-in-out infinite;
}

.news-error {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

/* ============================================ */
/* VREMENSKA PROGNOZA STILOVI */
/* ============================================ */

.weather-widget-container {
    margin: 30px 0;
    animation: fadeIn 0.8s ease;
}

.weather-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    padding: 20px;
    color: white;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.weather-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.weather-location {
    font-size: 1em;
    font-weight: 600;
}

.weather-time {
    font-size: 0.7em;
    opacity: 0.8;
}

.weather-current {
    text-align: center;
    padding: 15px 0;
}

.weather-icon-large {
    font-size: 3em;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.weather-temp-main {
    font-size: 2.5em;
    font-weight: bold;
    font-family: 'Courier New', monospace;
    margin: 8px 0;
}

.weather-desc {
    font-size: 1.1em;
    margin-bottom: 5px;
    text-transform: capitalize;
}

.weather-feels-like {
    font-size: 0.85em;
    opacity: 0.85;
}

.weather-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 15px 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.weather-detail-item {
    text-align: center;
}

.weather-detail-icon {
    font-size: 1.5em;
    margin-bottom: 5px;
}

.weather-detail-label {
    font-size: 0.75em;
    opacity: 0.8;
    margin-bottom: 5px;
}

.weather-detail-value {
    font-size: 1.1em;
    font-weight: 600;
}

.weather-forecast {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.forecast-title {
    font-size: 0.9em;
    margin-bottom: 12px;
    opacity: 0.9;
    font-weight: 600;
}

.forecast-days {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.forecast-day {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 12px 8px;
    text-align: center;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.forecast-day:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.forecast-day-name {
    font-size: 0.8em;
    font-weight: 600;
    margin-bottom: 6px;
    opacity: 0.9;
}

.forecast-day-icon {
    font-size: 2em;
    margin: 8px 0;
}

.forecast-day-temps {
    font-size: 1em;
    font-weight: 600;
    margin-top: 6px;
}

.temp-max {
    color: #FFD700;
}

.temp-separator {
    opacity: 0.5;
    margin: 0 3px;
}

.temp-min {
    opacity: 0.7;
}

.forecast-precipitation {
    font-size: 0.75em;
    margin-top: 5px;
    opacity: 0.8;
}

.weather-loading,
.weather-error {
    text-align: center;
    padding: 30px;
    font-size: 1.1em;
    color: white;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    animation: pulse 2s ease-in-out infinite;
}

.weather-error {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.special-card {
    background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
    border-color: #fdcb6e;
}

.results.hidden {
    display: none;
}

.results:has(.special-card) {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

@media (max-width: 600px) {
    .container {
        padding: 25px;
    }

    h1 {
        font-size: 2em;
    }

    .time-display {
        font-size: 2em;
    }

    .time-label {
        justify-content: center;
        align-items: center;
        gap: 8px;
        margin-bottom: 8px;
    }

    .sync-badge {
        font-size: 0.65em;
        padding: 3px 8px;
    }

    .date-display {
        font-size: 0.75em;
    }

    .results {
        grid-template-columns: 1fr;
    }

    .result-value {
        font-size: 1.3em;
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }

    .menu-title {
        font-size: 1.2em;
    }

    .dedication-banner {
        margin: 15px 0 25px 0;
    }

    .dedication-banner .gift-text {
        font-size: 0.8em;
        line-height: 1.5;
    }

    .author-footer {
        margin-top: 30px;
        padding-top: 20px;
    }

    .author-footer p {
        font-size: 0.8em;
    }

    .weather-temp-main {
        font-size: 2em;
    }

    .weather-icon-large {
        font-size: 2.5em;
    }

    .forecast-days {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .forecast-day-icon {
        font-size: 1.8em;
    }

    .weather-details {
        gap: 10px;
        padding: 12px;
    }

    .weather-card {
        padding: 15px;
    }

    .weather-current {
        padding: 10px 0;
    }

    .news-card {
        padding: 20px;
    }

    .news-title {
        font-size: 1.1em;
    }

    .news-item-title {
        font-size: 0.95em;
    }

    .news-item-description {
        font-size: 0.8em;
    }

    .news-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* ============================================
   NORMATIVI UI
   ============================================ */
.normativi-section {
    background: #ffffff;
    border: 3px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    overflow-x: auto; /* omogućava horizontalni skrol ako je tabela šira */
    margin-left: auto;
    margin-right: auto;
    max-width: 900px;
}

.normativi-title {
    color: #333;
    font-weight: 700;
    margin-bottom: 12px;
    text-align: center;
}

.normativi-controls {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 12px;
    justify-content: center;
}

.normativi-table {
    width: 100%;
    border-collapse: collapse;
    background: #fafafa;
    table-layout: auto;
    min-width: 760px; /* spreči preveliko skupljanje kolona */
    margin-left: auto;
    margin-right: auto;
}

.normativi-table th,
.normativi-table td {
    border: 1px solid #dcdcdc;
    padding: 10px;
    text-align: center;
    white-space: normal; /* dozvoli prelamanje naslova kolona */
}

.normativi-table th {
    background: #f2f2f2;
    font-weight: 700;
}

.normativi-add-wrapper {
    margin-top: 12px;
}

.normativi-add-form {
    margin-top: 10px;
    padding: 12px;
    background: #f8f9fa;
    border: 2px dashed #e0e0e0;
    border-radius: 10px;
}

.normativi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
    margin-bottom: 10px;
}

.normativi-add-form label {
    font-weight: 600;
    color: #555;
}

.normativi-add-form input {
    width: 100%;
    margin-top: 6px;
    padding: 10px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
}

.normativi-note {
    text-align: center;
    color: #444;
    font-weight: 600;
    margin-top: 16px;
}

@media (max-width: 600px) {
    .normativi-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .normativi-table {
        min-width: 600px;
    }

    .normativi-table th,
    .normativi-table td {
        padding: 6px;
        font-size: 0.9em;
    }
}

/* ============================================
   QUICK ACTIONS - Istorija i Notifikacije
   ============================================ */

.quick-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: white;
    border: 2px solid #667eea;
    border-radius: 10px;
    color: #667eea;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    font-size: 0.95em;
}

.action-btn:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.action-btn-special {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.action-btn-special:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.action-icon {
    font-size: 1.3em;
}

.badge {
    background: #ff4757;
    color: white;
    border-radius: 50%;
    padding: 2px 7px;
    font-size: 0.75em;
    font-weight: 700;
    min-width: 20px;
    text-align: center;
    display: none;
}


.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: #f0f0f0;
    color: #666;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #e0e0e0;
}

/* ============================================
   HISTORY PAGE
   ============================================ */

.history-container {
    max-width: 900px;
}

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

.stat-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.stat-icon {
    font-size: 2em;
    margin-bottom: 10px;
}

.stat-value {
    font-size: 2em;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.85em;
    opacity: 0.9;
}

.filters-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 20px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-group label {
    display: block;
    margin-bottom: 8px;
    color: #666;
    font-weight: 600;
    font-size: 0.9em;
}

.filter-select,
.filter-input {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1em;
    transition: all 0.3s ease;
}

.filter-select:focus,
.filter-input:focus {
    outline: none;
    border-color: #667eea;
}

.actions-section {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.btn-action {
    padding: 10px 20px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-action:hover {
    background: #5568d3;
    transform: translateY(-2px);
}

.btn-danger {
    background: #ff4757;
}

.btn-danger:hover {
    background: #ee3344;
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.history-item {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s ease;
}

.history-item:hover {
    border-color: #667eea;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
}

.history-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.history-item-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1em;
    color: #333;
}

.operation-icon {
    font-size: 1.5em;
}

.history-item-date {
    color: #999;
    font-size: 0.85em;
}

.history-item-body {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 15px;
}

.history-detail {
    display: flex;
    justify-content: space-between;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 8px;
}

.detail-label {
    color: #666;
    font-size: 0.9em;
}

.detail-value {
    font-weight: 600;
    color: #333;
}

.detail-value.highlight {
    color: #667eea;
    font-weight: 700;
}

.history-note {
    grid-column: 1 / -1;
    background: #fff3cd;
    padding: 12px;
    border-radius: 8px;
    border-left: 4px solid #ffc107;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9em;
}

.note-icon {
    font-size: 1.2em;
}

.history-item-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.btn-delete {
    padding: 8px 15px;
    background: #ff4757;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.85em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-delete:hover {
    background: #ee3344;
    transform: translateY(-2px);
}

.history-empty {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.empty-icon {
    font-size: 4em;
    margin-bottom: 15px;
}

.history-empty p {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.history-empty small {
    font-size: 0.9em;
    color: #bbb;
}

/* ============================================
   RESPONSIVE - History & Actions
   ============================================ */

@media (max-width: 600px) {
    .quick-actions {
        flex-direction: column;
        gap: 10px;
    }

    .action-btn {
        width: 100%;
        justify-content: center;
    }

    .stats-section {
        grid-template-columns: 1fr;
    }

    .filters-section {
        flex-direction: column;
    }

    .filter-group {
        min-width: 100%;
    }

    .history-item-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .history-item-body {
        grid-template-columns: 1fr;
    }

    .actions-section {
        flex-direction: column;
    }

    .btn-action,
    .btn-danger {
        width: 100%;
    }
}
