/**
 * TravelMatcher Dashboard - Styles
 */

/* ===== VARIABLES ===== */
:root {
    --tm-primary: #2563eb;
    --tm-success: #10b981;
    --tm-danger: #ef4444;
    --tm-warning: #f59e0b;
    --tm-info: #06b6d4;
    --tm-gray-50: #f9fafb;
    --tm-gray-100: #f3f4f6;
    --tm-gray-200: #e5e7eb;
    --tm-gray-300: #d1d5db;
    --tm-gray-400: #9ca3af;
    --tm-gray-500: #6b7280;
    --tm-gray-600: #4b5563;
    --tm-gray-700: #374151;
    --tm-gray-800: #1f2937;
    --tm-gray-900: #111827;
    --tm-radius: 12px;
    --tm-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    --tm-shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* ===== BASE ===== */
.tm-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.tm-section {
    background: white;
    border-radius: var(--tm-radius);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--tm-shadow);
}

.tm-section-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--tm-gray-100);
}

.tm-section-header h2 {
    margin: 0;
    font-size: 24px;
    color: var(--tm-gray-800);
}

/* ===== HEADER ===== */
.tm-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 30px;
    background: linear-gradient(135deg, var(--tm-primary), #1d4ed8);
    border-radius: var(--tm-radius);
    color: white;
}

.tm-header-content h1 {
    margin: 0 0 10px 0;
    font-size: 32px;
}

.tm-organizer-info {
    margin: 0;
    opacity: 0.9;
}

/* ===== STATUS BADGES ===== */
.tm-status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
}

.tm-status-draft {
    background: var(--tm-warning);
    color: white;
}

.tm-status-active {
    background: var(--tm-success);
    color: white;
}

.tm-status-confirmed {
    background: var(--tm-success);
    color: white;
}

.tm-status-pending {
    background: var(--tm-warning);
    color: white;
}

.tm-status-removed {
    background: var(--tm-danger);
    color: white;
}

/* ===== STATS GRID ===== */
.tm-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.tm-stat-card {
    background: white;
    padding: 20px;
    border-radius: var(--tm-radius);
    box-shadow: var(--tm-shadow);
    display: flex;
    align-items: center;
    gap: 15px;
}

.tm-stat-icon {
    font-size: 32px;
}

.tm-stat-value {
    font-size: 28px;
    font-weight: bold;
    color: var(--tm-gray-800);
}

.tm-stat-label {
    font-size: 14px;
    color: var(--tm-gray-500);
}

/* ===== TABLES ===== */
.tm-table-responsive {
    overflow-x: auto;
}

.tm-participants-table {
    width: 100%;
    border-collapse: collapse;
}

.tm-participants-table th,
.tm-participants-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--tm-gray-200);
}

.tm-participants-table th {
    background: var(--tm-gray-50);
    font-weight: 600;
    color: var(--tm-gray-700);
}

.tm-participants-table tr:hover {
    background: var(--tm-gray-50);
}

.tm-participant-name strong {
    display: block;
    margin-bottom: 5px;
}

.tm-flight-mini {
    font-size: 14px;
}

.tm-flight-mini small {
    display: block;
    color: var(--tm-gray-500);
}

/* ===== BADGES ===== */
.tm-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    margin-left: 8px;
}

.tm-badge-organizer {
    background: var(--tm-info);
    color: white;
}

.tm-badge-success {
    background: var(--tm-success);
    color: white;
}

.tm-badge-warning {
    background: var(--tm-warning);
    color: white;
}

/* ===== BUTTONS ===== */
.tm-btn {
    display: inline-block;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    text-align: center;
}

.tm-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--tm-shadow-lg);
}

.tm-btn-primary {
    background: var(--tm-primary);
    color: white;
}

.tm-btn-success {
    background: var(--tm-success);
    color: white;
}

.tm-btn-danger {
    background: var(--tm-danger);
    color: white;
}

.tm-btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

.tm-btn-lg {
    padding: 15px 30px;
    font-size: 16px;
}

.tm-btn-block {
    display: block;
    width: 100%;
}

.tm-action-buttons {
    display: flex;
    gap: 8px;
}

/* ===== BUDGET ===== */
.tm-budget-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.tm-budget-card {
    background: var(--tm-gray-50);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.tm-budget-label {
    display: block;
    font-size: 14px;
    color: var(--tm-gray-600);
    margin-bottom: 8px;
}

.tm-budget-value {
    display: block;
    font-size: 28px;
    font-weight: bold;
    color: var(--tm-primary);
}

.tm-budget-card small {
    display: block;
    margin-top: 8px;
    color: var(--tm-gray-500);
    font-size: 12px;
}

/* ===== ACCOMMODATIONS ===== */
.tm-accommodations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.tm-accommodation-card {
    border: 1px solid var(--tm-gray-200);
    border-radius: var(--tm-radius);
    overflow: hidden;
    transition: transform 0.2s;
}

.tm-accommodation-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--tm-shadow-lg);
}

.tm-accommodation-image {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
}

.tm-accommodation-content {
    padding: 15px;
}

.tm-accommodation-content h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
}

.tm-accommodation-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--tm-gray-600);
}

.tm-accommodation-price {
    margin-bottom: 15px;
    font-size: 16px;
}

.tm-accommodation-price strong {
    color: var(--tm-primary);
    font-size: 20px;
}

/* ===== FLIGHT CARDS ===== */
.tm-flight-card-large {
    background: white;
    border: 2px solid var(--tm-primary);
    border-radius: var(--tm-radius);
    padding: 30px;
}

.tm-flight-direction {
    padding: 20px;
    border-bottom: 1px solid var(--tm-gray-200);
}

.tm-flight-direction:last-of-type {
    border-bottom: none;
}

.tm-flight-direction-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.tm-flight-direction-header h3 {
    margin: 0;
    color: var(--tm-gray-800);
}

.tm-flight-date {
    color: var(--tm-gray-600);
    font-weight: 500;
}

.tm-flight-route {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}

.tm-flight-airport {
    flex: 0 0 auto;
    text-align: center;
}

.tm-airport-code {
    font-size: 24px;
    font-weight: bold;
    color: var(--tm-gray-800);
}

.tm-airport-time {
    font-size: 14px;
    color: var(--tm-gray-600);
    margin-top: 5px;
}

.tm-flight-path {
    flex: 1;
    text-align: center;
}

.tm-flight-duration {
    font-size: 12px;
    color: var(--tm-gray-500);
    margin-bottom: 8px;
}

.tm-flight-line {
    position: relative;
    height: 2px;
    background: var(--tm-gray-300);
    margin: 10px 0;
}

.tm-plane-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    background: white;
    padding: 0 5px;
}

.tm-flight-stops {
    font-size: 12px;
    color: var(--tm-gray-600);
    margin-top: 8px;
}

.tm-flight-airline {
    font-size: 14px;
    color: var(--tm-gray-600);
}

.tm-flight-price-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: var(--tm-gray-50);
    border-radius: 8px;
    margin: 20px 0;
}

.tm-flight-price-total strong {
    font-size: 28px;
    color: var(--tm-primary);
}

/* ===== PARTICIPANTS MINI GRID ===== */
.tm-participants-mini-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.tm-participant-mini-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--tm-gray-50);
    border-radius: 8px;
}

.tm-participant-avatar {
    width: 50px;
    height: 50px;
    background: var(--tm-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
}

.tm-participant-info {
    flex: 1;
}

.tm-participant-info strong {
    display: block;
    margin-bottom: 5px;
}

.tm-participant-info span {
    display: block;
    font-size: 13px;
    color: var(--tm-gray-600);
}

/* ===== BUDGET BREAKDOWN ===== */
.tm-budget-breakdown {
    background: white;
    border-radius: var(--tm-radius);
    overflow: hidden;
}

.tm-budget-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border-bottom: 1px solid var(--tm-gray-200);
}

.tm-budget-icon {
    font-size: 24px;
}

.tm-budget-label {
    flex: 1;
    font-size: 16px;
    color: var(--tm-gray-700);
}

.tm-budget-amount {
    font-size: 18px;
    font-weight: 600;
    color: var(--tm-gray-800);
}

.tm-budget-total {
    display: flex;
    justify-content: space-between;
    padding: 25px;
    background: var(--tm-primary);
    color: white;
    font-size: 18px;
}

.tm-budget-total strong {
    font-size: 28px;
}

/* ===== ALERTS ===== */
.tm-alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.tm-alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #34d399;
}

.tm-alert-warning {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fbbf24;
}

/* ===== CONFIRMATION BOX ===== */
.tm-confirmation-box {
    text-align: center;
    padding: 30px;
    background: var(--tm-gray-50);
    border-radius: var(--tm-radius);
}

.tm-confirmation-box h3 {
    margin-top: 0;
    color: var(--tm-gray-800);
}

.tm-confirmation-box p {
    color: var(--tm-gray-600);
    margin-bottom: 20px;
}

/* ===== NOTIFICATIONS ===== */
.tm-notifications-widget {
    position: relative;
}

.tm-notifications-btn {
    background: white;
    border: none;
    font-size: 24px;
    cursor: pointer;
    position: relative;
    padding: 8px 12px;
    border-radius: 8px;
}

.tm-notif-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--tm-danger);
    color: white;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
}

.tm-notifications-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    width: 350px;
    max-height: 400px;
    background: white;
    border-radius: var(--tm-radius);
    box-shadow: var(--tm-shadow-lg);
    overflow: hidden;
    z-index: 1000;
}

.tm-notif-header {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 1px solid var(--tm-gray-200);
}

.tm-notif-header h3 {
    margin: 0;
    font-size: 16px;
}

.tm-mark-all-read {
    background: none;
    border: none;
    color: var(--tm-primary);
    font-size: 12px;
    cursor: pointer;
}

.tm-notif-list {
    max-height: 300px;
    overflow-y: auto;
}

.tm-notif-item {
    padding: 15px;
    border-bottom: 1px solid var(--tm-gray-200);
    cursor: pointer;
}

.tm-notif-item:hover {
    background: var(--tm-gray-50);
}

.tm-notif-unread {
    background: #eff6ff;
}

.tm-notif-message {
    font-size: 14px;
    color: var(--tm-gray-800);
    margin-bottom: 5px;
}

.tm-notif-time {
    font-size: 12px;
    color: var(--tm-gray-500);
}

/* ===== MODALS ===== */
.tm-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.tm-modal-content {
    background: white;
    border-radius: var(--tm-radius);
    width: 90%;
    max-width: 500px;
    box-shadow: var(--tm-shadow-lg);
}

.tm-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--tm-gray-200);
}

.tm-modal-header h3 {
    margin: 0;
}

.tm-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--tm-gray-500);
}

.tm-modal-body {
    padding: 20px;
}

.tm-share-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* ===== TRIP SELECTION PAGE ===== */
.tm-trip-selection-page {
    background: var(--tm-gray-50);
    min-height: 100vh;
    padding: 40px 0;
}

.tm-page-header {
    text-align: center;
    margin-bottom: 40px;
}

.tm-page-header h1 {
    font-size: 36px;
    margin: 0 0 10px 0;
}

.tm-results-grid {
    display: grid;
    gap: 30px;
}

.tm-result-card {
    background: white;
    border-radius: var(--tm-radius);
    box-shadow: var(--tm-shadow);
    overflow: hidden;
}

.tm-result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border-bottom: 2px solid var(--tm-primary);
}

.tm-destination-info h2 {
    margin: 0 0 5px 0;
    font-size: 28px;
    color: var(--tm-gray-800);
}

.tm-country {
    color: var(--tm-gray-600);
}

.tm-score-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--tm-primary);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.tm-score-value {
    font-size: 24px;
    font-weight: bold;
}

.tm-score-label {
    font-size: 12px;
}

.tm-scores-breakdown {
    padding: 25px;
    background: var(--tm-gray-50);
}

.tm-score-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.tm-score-icon {
    font-size: 20px;
}

.tm-score-name {
    width: 120px;
    font-size: 14px;
    color: var(--tm-gray-700);
}

.tm-score-bar {
    flex: 1;
    height: 8px;
    background: var(--tm-gray-200);
    border-radius: 4px;
    overflow: hidden;
}

.tm-score-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--tm-primary), var(--tm-success));
}

.tm-score-number {
    width: 50px;
    text-align: right;
    font-weight: 600;
    color: var(--tm-gray-800);
}

.tm-participants-preview {
    padding: 25px;
}

.tm-participants-preview h3 {
    margin: 0 0 20px 0;
    font-size: 18px;
    color: var(--tm-gray-800);
}

.tm-participant-flight {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    margin-bottom: 10px;
    border: 1px solid var(--tm-gray-200);
}

.tm-from-city {
    color: var(--tm-gray-500);
    font-size: 13px;
}

.tm-flight-details {
    flex: 1;
}

.tm-flight-time {
    font-weight: 500;
    color: var(--tm-gray-800);
}

.tm-flight-meta {
    font-size: 13px;
    color: var(--tm-gray-600);
    margin-top: 5px;
}

.tm-flight-price {
    font-size: 18px;
    font-weight: bold;
    color: var(--tm-primary);
}

.tm-total-price {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    background: var(--tm-primary);
    color: white;
    border-radius: 8px;
    margin-top: 15px;
}

.tm-result-actions {
    padding: 25px;
    text-align: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .tm-dashboard-header {
        flex-direction: column;
        gap: 20px;
    }
    
    .tm-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .tm-table-responsive {
        overflow-x: scroll;
    }
    
    .tm-flight-route {
        flex-direction: column;
    }
    
    .tm-result-header {
        flex-direction: column;
        gap: 15px;
    }
}

/* ===== ANIMATIONS ===== */

/* Fade-in + slide-up for sections and cards */
@keyframes tm-fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes tm-fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes tm-scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to   { opacity: 1; transform: scale(1); }
}

@keyframes tm-slideInLeft {
    from { opacity: 0; transform: translateX(-20px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes tm-countPulse {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.15); }
    100% { transform: scale(1); }
}

/* Dashboard header - slide in */
.tm-dashboard-header {
    animation: tm-fadeInUp 0.6s ease-out;
}
.tm-dashboard-guest .tm-dashboard-header {
    animation: tm-fadeInUp 0.6s ease-out;
}

/* Stat cards - staggered entrance */
.tm-stat-card {
    animation: tm-scaleIn 0.5s ease-out both;
}
.tm-stats-grid .tm-stat-card:nth-child(1) { animation-delay: 0.1s; }
.tm-stats-grid .tm-stat-card:nth-child(2) { animation-delay: 0.2s; }
.tm-stats-grid .tm-stat-card:nth-child(3) { animation-delay: 0.3s; }
.tm-stats-grid .tm-stat-card:nth-child(4) { animation-delay: 0.4s; }

/* Stat values - pulse on load */
.tm-stat-value {
    animation: tm-countPulse 0.6s ease-out 0.8s both;
}

/* Sections - staggered fade in */
.tm-section {
    animation: tm-fadeInUp 0.5s ease-out both;
}
.tm-container > .tm-section:nth-child(1) { animation-delay: 0.15s; }
.tm-container > .tm-section:nth-child(2) { animation-delay: 0.25s; }
.tm-container > .tm-section:nth-child(3) { animation-delay: 0.35s; }
.tm-container > .tm-section:nth-child(4) { animation-delay: 0.45s; }
.tm-container > .tm-section:nth-child(5) { animation-delay: 0.55s; }

/* Table rows - slide in */
.tm-participants-table tbody tr {
    animation: tm-slideInLeft 0.4s ease-out both;
}
.tm-participants-table tbody tr:nth-child(1) { animation-delay: 0.2s; }
.tm-participants-table tbody tr:nth-child(2) { animation-delay: 0.3s; }
.tm-participants-table tbody tr:nth-child(3) { animation-delay: 0.4s; }
.tm-participants-table tbody tr:nth-child(4) { animation-delay: 0.5s; }
.tm-participants-table tbody tr:nth-child(5) { animation-delay: 0.6s; }

/* Budget cards - staggered */
.tm-budget-card {
    animation: tm-scaleIn 0.5s ease-out both;
}
.tm-budget-grid .tm-budget-card:nth-child(1) { animation-delay: 0.3s; }
.tm-budget-grid .tm-budget-card:nth-child(2) { animation-delay: 0.4s; }
.tm-budget-grid .tm-budget-card:nth-child(3) { animation-delay: 0.5s; }

/* Flight card - fade in */
.tm-flight-card-large {
    animation: tm-fadeInUp 0.6s ease-out 0.3s both;
}

/* Vote cards - staggered */
.tm-vote-card {
    animation: tm-fadeInUp 0.5s ease-out both;
}
.tm-voting-section .tm-vote-card:nth-child(1) { animation-delay: 0.15s; }
.tm-voting-section .tm-vote-card:nth-child(2) { animation-delay: 0.25s; }
.tm-voting-section .tm-vote-card:nth-child(3) { animation-delay: 0.35s; }

/* Vote result cards (organizer) */
.tm-vote-result-card {
    animation: tm-fadeInUp 0.5s ease-out both;
}

/* Participant mini cards (guest view) */
.tm-participant-mini-card {
    animation: tm-scaleIn 0.4s ease-out both;
}
.tm-participants-mini-grid .tm-participant-mini-card:nth-child(1) { animation-delay: 0.2s; }
.tm-participants-mini-grid .tm-participant-mini-card:nth-child(2) { animation-delay: 0.3s; }
.tm-participants-mini-grid .tm-participant-mini-card:nth-child(3) { animation-delay: 0.4s; }
.tm-participants-mini-grid .tm-participant-mini-card:nth-child(4) { animation-delay: 0.5s; }

/* Accommodation cards */
.tm-accommodation-card {
    animation: tm-fadeInUp 0.5s ease-out both;
}
.tm-accommodations-grid .tm-accommodation-card:nth-child(1) { animation-delay: 0.2s; }
.tm-accommodations-grid .tm-accommodation-card:nth-child(2) { animation-delay: 0.35s; }
.tm-accommodations-grid .tm-accommodation-card:nth-child(3) { animation-delay: 0.5s; }

/* Notification dropdown */
.tm-notif-dropdown {
    animation: tm-scaleIn 0.2s ease-out;
    transform-origin: top right;
}

/* Modal */
.tm-modal-content {
    animation: tm-scaleIn 0.25s ease-out;
}

/* Alert banners */
.tm-alert {
    animation: tm-fadeIn 0.5s ease-out 0.4s both;
}

/* Buttons - subtle hover lift */
.tm-btn {
    transition: all 0.2s ease;
}
.tm-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.tm-btn:active {
    transform: translateY(0);
}

/* Score circle animation (trip-selection) */
.tm-score-circle {
    animation: tm-scaleIn 0.5s ease-out 0.3s both;
}

/* Trip selection cards */
.tm-result-card {
    animation: tm-fadeInUp 0.5s ease-out both;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tm-result-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.tm-results-list .tm-result-card:nth-child(1) { animation-delay: 0.1s; }
.tm-results-list .tm-result-card:nth-child(2) { animation-delay: 0.2s; }
.tm-results-list .tm-result-card:nth-child(3) { animation-delay: 0.3s; }
.tm-results-list .tm-result-card:nth-child(4) { animation-delay: 0.4s; }
.tm-results-list .tm-result-card:nth-child(5) { animation-delay: 0.5s; }

/* Score bars animated fill */
.tm-score-bar-fill {
    animation: tm-barFill 0.8s ease-out 0.5s both;
}
@keyframes tm-barFill {
    from { width: 0; }
}

/* Auth pages (login/register) */
.tm-auth-container {
    animation: tm-fadeInUp 0.5s ease-out;
}
.tm-auth-form {
    animation: tm-scaleIn 0.4s ease-out 0.15s both;
}
