@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css');

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


html, body {
    font-family: 'Outfit', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background: white;
    color: #1e293b;
    min-height: 100vh;
    display: flex;
}

/* Collapsed Sidebar */
.sidebar {
    width: 88px;
    background: #ffffff;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    padding: 1rem 0;
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    z-index: 1000;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.02);
}

.sidebar-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    align-items: center;
}

/* Logo Container */
.logo-container {
    padding: 0.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon {
    height: 35px;
    width: 35px;
    border-radius: 8px;
    object-fit: contain;
}

/* Menu Items */
.menu-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-grow: 1;
    width: 100%;
    padding: 0 1rem;
}

.menu-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    color: #000000;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    width: 100%;
    min-height: 56px;
}

.menu-item i {
    font-size: 20px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Active a Hover stavy */
.menu-item.active,
.menu-item:hover {
    background-color: rgba(0, 141, 255, 0.11);
    color: blue;
}

.menu-item.active i,
.menu-item:hover i {
    color: blue;
}

/* Soon Badge */
.soon-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: blue;
    color: white;
    padding: 2px 6px;
    font-size: 0.65rem;
    font-weight: 600;
    border-radius: 8px;
    letter-spacing: 0.025em;
    line-height: 1;
}

/* User Profile */
.user-profile {
    margin-top: auto;
    padding: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    width: 100%;
    display: flex;
    justify-content: center;
}

.user-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border-radius: 12px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.user-avatar:hover {
    background-color: rgba(79, 70, 229, 0.1);
}

.profile-picture {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
}


/* Tooltip */
.tooltip {
    position: fixed;
    background: #000000;
    color: white;
    padding: 16px 16px;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transform: translateY(-50%);
    transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.tooltip::before {
    content: '';
    position: absolute;
    left: -4px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 4px 4px 4px 0;
    border-color: transparent #000000 transparent transparent;
}


/* Responsivní design - pouze pro případ potřeby menších úprav na laptopech */
@media (max-width: 1440px) {
    .logo-container {
        margin-bottom: 1.8rem;
    }

    .menu-item {
        padding: 0.9rem;
        min-height: 52px;
    }

    .menu-item i {
        font-size: 18px;
        width: 18px;
        height: 18px;
    }
}


/* Main Content */
.main-content {
    flex: 1;
    margin-left: 280px;
    padding: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dashboard-card, .ai-card, .cards-container {
    position: relative;
}


.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.header h1 {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.dashboard-card {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 2px 8px -2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    overflow: visible;

    height: auto;
}

/* Remove fixed height and scrolling */
.dashboard-card .overflow-x-auto {
    overflow: visible;
    width: 100%;
}

.dashboard-card h3 {
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-family: 'Outfit', sans-serif;
}

.stat {
    font-size: 1.5rem;
    font-weight: 500;
    color: royalblue;
    font-family: 'Outfit', sans-serif;
}

/* Collapsed Sidebar State */
body.sidebar-collapsed .sidebar {
    width: 88px;
}

body.sidebar-collapsed .main-content {
    margin-left: 88px;
}

body.sidebar-collapsed .menu-item {
    justify-content: center;
    padding: 0.625rem;
    position: relative;
}

body.sidebar-collapsed .menu-item i {
    margin: 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
}

body.sidebar-collapsed .menu-item span {
    opacity: 0;
    width: 0;
    overflow: hidden;
}

body.sidebar-collapsed .logo-full {
    display: none;
}

body.sidebar-collapsed .logo-icon {
    display: block;
}

/* Tooltip pro minimalizovaný sidebar */
body.sidebar-collapsed .menu-item::after {
    content: attr(data-tooltip);
    position: absolute;
    left: calc(100% + 10px);
    top: calc(-100% - 10px);
    transform: translateX(-50%);
    background: black;
    color: white;
    padding: 0.5rem 0.875rem;
    border-radius: 0.5rem;
    font-size: 0.813rem;
    white-space: nowrap;
    box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.08);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    font-family: 'Outfit', sans-serif;
    z-index: 9999;
}

body.sidebar-collapsed .menu-item:hover::after {
    opacity: 1;
}

/* Hover efekt pro minimalizovaný sidebar */
body.sidebar-collapsed .menu-item:hover {
    background: #008dff2b;
    transform: none;
}

body.sidebar-collapsed .menu-item.active {
    background: #008dff2b;
    color: blue;
}

body.sidebar-collapsed .menu-item.active i {
    color: blue;
}

/* Responzivní design */
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }

    .main-content {
        padding: 1.5rem;
    }

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

    body.sidebar-collapsed .main-content {
        margin-left: 0;
    }

    .sidebar {
        transform: translateX(-100%);
    }

    body.sidebar-collapsed .sidebar {
        transform: translateX(0);
        width: 88px;
    }
}

/* cards */

.cards-container {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

 .ai-card
 {
     background: white;
     border-radius: 16px;
     padding: clamp(12px, 2vw, 16px);
     box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
     border: 1px solid rgba(0, 0, 0, 0.04);
            width: 300px;
        }

        .ai-icon {
            width: 40px;
            height: 40px;
            margin-bottom: 1rem;
            background-color: rgba(0, 141, 255, 0.11);
            color: blue;
            padding: 0.75rem;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .ai-icon svg {
            width: 24px;
            height: 24px;
            color: blue;
        }

        .ai-title {
            font-size: 1.25rem;
            font-weight: 600;
            color: #1a1a1a;
            margin-bottom: 0.5rem;
        }

        .ai-description {
            font-size: 0.875rem;
            color: #6B7280;
            margin-bottom: 1.25rem;
            line-height: 1.5;
        }

        .ai-button {
            font-family: 'Outfit', sans-serif;
            padding: 0.5rem 1rem;
            border-radius: 0.5rem;
            font-weight: 500;
            cursor: pointer;
            background: rgba(255, 255, 255, 0.6);
            color: royalblue;
            border: none;
            transition: all 0.2s ease;
        }

        .ai-button:hover {
            background: rgba(255, 255, 255, 0.8);
        }


/* filter buttons */

.btn-outline-dark {
    background: #ffffff;
    border: none;
    padding: 0.75rem;
    border-radius: 0.75rem;
    cursor: pointer;
    color: black;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Outfit', sans-serif;
}

.btn-outline-dark:hover {
    background: rgba(99, 102, 241, 0.08);
    color: #5271ff;
}

.btn-outline-dark i {
    color: inherit;
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 300px;
    z-index: 1;
}


.search-input {
    width: 100%;
    padding: 8px 16px 8px 40px; /* shodné s tlačítkem + prostor pro ikonu vlevo */
    border-radius: 6px; /* shodně s tlačítkem */
    border: 1px solid #e1e1e1;
    font-family: 'Outfit', sans-serif;
    font-size: 14px; /* shodně s tlačítkem */
    font-weight: 500;
    color: #64748b;
    transition: all 0.3s ease;
    box-sizing: border-box; /* důležité pro správné výpočty výšky */
    height: 46px; /* volitelné, pro přesný match s tlačítkem */
}

.search-input:focus {
    outline: none;
    background: rgba(99, 102, 241, 0.08);
    color: blue;
    border-color: blue;
}

/* Pozice ikony */
.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    pointer-events: none;
}

.search-input:focus + .search-icon {
    color: blue;
}

/* animation fire */

@keyframes burn {
    0% {
        transform: scale(1) rotate(-1deg);
        filter: brightness(100%);
    }
    100% {
        transform: scale(1.1) rotate(1deg);
        filter: brightness(110%);
    }
}

/* modal */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    position: relative;
    background: white;
    width: 90%;
    max-width: 800px;
    margin: 50px auto;
    border-radius: 8px;
    padding: 1.5rem;
    animation: slideUp 0.3s ease-out;
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-header h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
}

.close-button {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #64748b;
    cursor: pointer;
    padding: 0.5rem;
}

.setup-info {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.credentials-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.credential-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.credential-item label {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

.copy-field {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.copy-field input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    font-family: 'Outfit', sans-serif;
    background: #f8fafc;
    color: #1e293b;
    outline: none;
}

.copy-button {
    background: #5271ff;
    border: none;
    color: white;
    padding: 0.75rem;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.copy-button:hover {
    background: #4260ee;
}

.copy-button.copied {
    background: #10b981;
}


/* Table Styles */
.w-full {
    width: 100%;
}

.overflow-x-auto {
    overflow-x: auto;
}

table {
    border-collapse: separate;
    border-spacing: 0;
}

th {
    font-weight: 500;
    color: black;
    font-size: 0.875rem;
    font-family: 'Outfit', sans-serif;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.44);
    border-bottom: none;  /* Výraznější oddělení hlavičky */
}

td {
    color: #1e293b;
    font-size: 0.875rem;
    font-family: 'Outfit', sans-serif;
    padding: 1.1rem;    /* Ještě větší vertikální padding */
    vertical-align: middle;
    border-bottom: 0.5px solid rgba(202, 202, 202, 0.62);  /* Světle šedá linka mezi řádky */
}

tr {
    transition: all 0.2s ease;
}

tr:hover {
    background-color: none;
}

/* Zvětšení profilového obrázku */
.w-10 {
    width: 40px;  /* Zvětšeno z 2.5rem */
}

.h-10 {
    height: 40px;  /* Zvětšeno z 2.5rem */
}

.rounded-full {
    border-radius: 9999px;
}

.object-cover {
    object-fit: cover;
}

.mb-4 {
    margin-bottom: 1.5rem;    /* Větší margin pod search barem */
}

.text-gray-500 {
    color: #64748b;
}

.text-center {
    text-align: center;
}

/* Styly pro prázdný stav */
tr.empty-state td {
    padding: 2rem;           /* Větší padding pro prázdný stav */
    text-align: center;
    color: #64748b;
}

/* Úprava hover efektu pro celý řádek */
.hover\:bg-gray-50:hover {
    background-color: #f8fafc;
}

/* candidates actions dropdown */

/* Styles for the actions cell and menu */
.actions-cell {
    position: relative;
    width: 100px;
    overflow: visible;
}

.actions-menu {
    position: relative;
    display: inline-block;
    overflow: visible;
}

.action-btn {
    background: none;
    border: none;
    padding: 5px;
    cursor: pointer;
    color: #666;
}

.action-btn:hover {
    color: #333;
}

.actions-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 200px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: none;
    z-index: 9999;
    margin-top: 5px;
}

/* Show menu when active */
.actions-dropdown.show {
    display: block;
}

/* Menu content */
.actions-content {
    padding: 8px 0;
}

.action-item {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.2s;
}

.action-item:hover {
    background-color: #f5f5f5;
    text-decoration: none;
    color: #333;
}

.action-item i {
    margin-right: 8px;
    width: 16px;
    text-align: center;
}

.action-item span {
    flex-grow: 1;
}

/* Divider and header in menu */
.action-divider {
    height: 1px;
    background-color: #eee;
    margin: 8px 0;
}

.action-header {
    padding: 8px 16px;
    color: #666;
    font-size: 0.9em;
    font-weight: 500;
}

/* Status-specific colors */
.action-item[data-status="new"] i {
    color: #666;
}

.action-item[data-status="contacted"] i {
    color: #3498db;
}

.action-item[data-status="interviewing"] i {
    color: #f39c12;
}

.action-item[data-status="hired"] i {
    color: #27ae60;
}

.action-item[data-status="rejected"] i {
    color: #e74c3c;
}

/* Ensure dropdown is visible when table is scrolled */
.overflow-x-auto {
    padding-bottom: 150px;
}

/* Ensure table cells can handle dropdown positioning */
.table td {
    position: relative;
}

/* Modal Base Styles */
.modal {
    z-index: 1050;
}

.modal-backdrop {
    z-index: 1040;
}

/* Notes Modal */

.modal {
    z-index: 1050;
}

.modal-backdrop {
    z-index: 1040;
}

/* Notes Modal Specific Styles */


/* Modal Header */
.modal-header {
    padding: 20px 30px;
    border-bottom: 1px solid #f0f0f0;
    background: white;
    border-radius: 16px 16px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
}

/* Modal Body */
.modal-body {
    padding: 30px;
    max-height: 70vh;
    overflow-y: auto;
}

/* Textarea Styles */
.modal-body textarea {
    width: 100%;
    min-height: 300px;
    padding: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    resize: vertical;
    font-size: 1rem;
    line-height: 1.6;
    color: #2d3748;
    background-color: #fff;
    transition: all 0.3s ease;
}

.modal-body textarea:focus {
    outline: none;
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.15);
}

/* Modal Footer */
.modal-footer {
    border-top: 1px solid #f0f0f0;
    border-radius: 0 0 16px 16px;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

/* Custom Scrollbar */
.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: #f7fafc;
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: #a0aec0;
}

.modal-footer .btn-secondary {
    background-color: #f1f1f1;
    color: black;
}


.modal-footer .btn-primary {
    background-color: blue;
    color: white;
    border: none;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 15px auto;
    }

    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 15px;
    }

    .modal-body textarea {
        min-height: 200px;
    }
}

/* Close Button */
.modal-header .close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #718096;
    cursor: pointer;
    padding: 5px;
    transition: color 0.2s ease;
}

.modal-header .close:hover {
    color: #2d3748;
}

/* Modal Backdrop */
.modal-backdrop.show {
    opacity: 0.25;
}

/* Input Groups */
.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    color: #4a5568;
    font-weight: 500;
}

/* Add animation */
.modal-content {
    animation: modalSlideIn 0.3s ease-out;
}

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

/* Styles for the notes modal */
.notes-list {
    max-height: 300px;
    overflow-y: auto;
}

.note-item {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.note-item:last-child {
    border-bottom: none;
}

.note-content {
    margin-bottom: 5px;
}

.note-meta {
    font-size: 0.8em;
    color: #666;
}

/* Add job modal styles */
#addJobModal .form-row {
    margin-bottom: 1rem;
}

#addJobModal .form-control {
    border-radius: 4px;
}

#addJobModal textarea {
    resize: vertical;
}

/* Jobs */
.job-detail-container {
    padding: 20px;
}

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

.info-group label {
    font-weight: 600;
    color: #666;
    display: block;
    margin-bottom: 5px;
}

.info-group p {
    margin: 0;
}

.formatted-text {
    white-space: pre-line;
    line-height: 1.6;
}

.generate-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    border-radius: 0.75rem;
    font-size: 13px; /* Font size */
    border: none;
    background: linear-gradient(to right, #00D4FF, #6A11CB);
    color: white;
    font-family: Arial, sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
}

.generate-button:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255,255,255,0.2);
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.generate-button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(106, 17, 203, 0.3);
}

.generate-button:hover:before {
    opacity: 1;
}

.generate-button:active {
    transform: scale(0.95);
}



.main-button {
    background-color: blue; /* Blue background */
    color: white; /* White text */
    border: none; /* Remove default border */
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 13px; /* Font size */
    cursor: pointer; /* Pointer cursor on hover */
    transition: background-color 0.3s ease; /* Smooth transition for background color */
}

.main-button:hover {
    background-color: #0056b3; /* Darker blue on hover */
}

.secondary-button {
    padding: 8px 16px;
    background-color: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #4b5563;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.secondary-button:hover {
    background-color: #f7fafc;
    border-color: royalblue;
    color: royalblue;
}


.light-button {
    background-color: rgba(0, 123, 255, 0.1);
    color: black; /* White text */
    border: none; /* Remove default border */
    padding: 0.75rem;
    border-radius: 0.75rem;
    font-size: 13px; /* Font size */
    cursor: pointer; /* Pointer cursor on hover */
    transition: background-color 0.3s ease; /* Smooth transition for background color */
}

.light-button:hover {
    background-color: rgba(0, 123, 255, 0.1); /* Darker blue on hover */
    color: royalblue;
}

.main-button.activate {
    background-color: rgba(0, 154, 34, 0.42);
    color: green;
}

.main-button.activate:hover {
    background-color: #28a745;
    color: white;
}

.main-button.pause {
    background-color: rgba(232, 115, 128, 0.16);
    color: #676767;
}

.main-button.pause:hover {
    background-color: #c82333;
    color: white;
}

.main-button i {
    font-size: 1.1em;
}

/* checkbox */

.bulk-checkbox {
    width: 16px;
    height: 16px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-color: #fff;
    border: 1.5px solid #ddd;
    border-radius: 4px;
    position: relative;
    transition: all 0.2s ease;
}

.bulk-checkbox:checked {
    background-color: royalblue;
    border-color: royalblue;
}

.bulk-checkbox:checked:after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.bulk-checkbox:hover {
    border-color: royalblue;
}

.dropdown-item {
    padding: 8px 16px;
    cursor: pointer;
    color: #444;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: rgba(65, 105, 225, 0.1);
    color: royalblue;
}

.dropdown-item i {
    margin-right: 8px;
    font-size: 1.1em;
    opacity: 0.8;
}

.dropdown-item:hover i {
    opacity: 1;
}

.disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
}

/* pulse button */

.pulse-button {
    display: inline-block;
    position: relative;
    animation: subtle-pulse 2s infinite;
}

@keyframes subtle-pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(121, 65, 228, 0.4), 0 0 0 0 rgba(146, 189, 254, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(121, 65, 228, 0.1), 0 0 0 15px rgba(146, 189, 254, 0.1);
    }
}

#aiSearchStatus {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1050;
}

.spinner {
    position: relative;
    width: 10px;
    height: 10px;
}

.spinner div {
    position: absolute;
    width: 50%;
    height: 150%;
    background: linear-gradient(90deg, #7941e4 0%, #92bdfe 100%);
    transform: rotate(calc(var(--rotation) * 1deg)) translate(0, calc(var(--translation) * 1%));
    animation: spinner-fzua35 1s calc(var(--delay) * 1s) infinite ease;
}

.spinner div:nth-child(1) {
    --delay: 0.1;
    --rotation: 36;
    --translation: 150;
}

.spinner div:nth-child(2) {
    --delay: 0.2;
    --rotation: 72;
    --translation: 150;
}

.spinner div:nth-child(3) {
    --delay: 0.3;
    --rotation: 108;
    --translation: 150;
}

.spinner div:nth-child(4) {
    --delay: 0.4;
    --rotation: 144;
    --translation: 150;
}

.spinner div:nth-child(5) {
    --delay: 0.5;
    --rotation: 180;
    --translation: 150;
}

.spinner div:nth-child(6) {
    --delay: 0.6;
    --rotation: 216;
    --translation: 150;
}

.spinner div:nth-child(7) {
    --delay: 0.7;
    --rotation: 252;
    --translation: 150;
}

.spinner div:nth-child(8) {
    --delay: 0.8;
    --rotation: 288;
    --translation: 150;
}

.spinner div:nth-child(9) {
    --delay: 0.9;
    --rotation: 324;
    --translation: 150;
}

.spinner div:nth-child(10) {
    --delay: 1;
    --rotation: 360;
    --translation: 150;
}

@keyframes spinner-fzua35 {
    0%, 10%, 20%, 30%, 50%, 60%, 70%, 80%, 90%, 100% {
        transform: rotate(calc(var(--rotation) * 1deg)) translate(0, calc(var(--translation) * 1%));
    }

    50% {
        transform: rotate(calc(var(--rotation) * 1deg)) translate(0, calc(var(--translation) * 1.5%));
    }
}



#advancedSearchModal .form-control {
    border-radius: 6px;
    border: 1px solid #dee2e6;
}

#advancedSearchModal .search-row {
    transition: all 0.3s ease;
}

#advancedSearchModal .search-row:hover {
    background-color: rgba(0,0,0,0.01);
    border-radius: 8px;
}

#advancedSearchModal .btn {
    border-radius: 6px;
    transition: all 0.2s ease;
}

#advancedSearchModal .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#jobSelectorContainer {
    transition: all 0.3s ease;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

.search-row {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.search-row:last-child {
    border-bottom: none;
}

.remove-criteria {
    padding: 0.375rem 0.75rem;
}

#addCriteria {
    margin-top: 10px;
}

.modal-lg {
    max-width: 800px;
}

.badge {
    padding: 0.25em 0.6em;
    font-size: 12px;
    font-weight: 600;
    border-radius: 9999px;
}

.badge-success {
    background-color: #88d140; /* Light green background */
    color: #ffffff;
    border-radius: 5px;
}

.badge-info {
    background-color: #1fc2d1;
    color: #ffffff;
    border-radius: 5px;
}

.badge-warning {
    background-color: #24a4ff;
    color: #ffffff;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 500;
    padding: 3px 3px;
}

.badge-secondary {
    background-color: rgba(250, 6, 6, 0.25);
    color: #f84444;
}

.ml-2 {
    margin-left: 0.5rem;
}


/* Toast notifications */
.swal2-toast-custom {
    background: white !important;
    padding: 12px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    border-radius: 8px !important;
}

.swal2-toast-title {
    color: #333 !important;
    font-size: 14px !important;
    padding: 0 !important;
    margin-left: 12px !important;
}

/* Success checkmark bez kolečka a bez animace */
.swal2-toast-custom .swal2-icon.swal2-success {
    border: none !important;
    background: transparent !important;
    animation: none !important;           /* Vypnutí animace */
}

.swal2-toast-custom .swal2-icon.swal2-success [class^='swal2-success-line'] {
    background-color: #4CAF50 !important;
    height: 3px !important;
    animation: none !important;           /* Vypnutí animace čárek */
}

.swal2-toast-custom .swal2-success-line-tip {
    animation: none !important;           /* Vypnutí animace špičky */
}

.swal2-toast-custom .swal2-success-line-long {
    animation: none !important;           /* Vypnutí animace dlouhé čáry */
}

/* Skryjeme ring */
.swal2-toast-custom .swal2-icon.swal2-success .swal2-success-ring {
    display: none !important;
}

/* Error křížek bez animace */
.swal2-toast-custom .swal2-icon.swal2-error {
    border: none !important;
    background: transparent !important;
    animation: none !important;           /* Vypnutí animace */
}

.swal2-toast-custom .swal2-icon.swal2-error [class^='swal2-x-mark-line'] {
    background-color: #FF4D4F !important;
    height: 3px !important;
    animation: none !important;           /* Vypnutí animace čárek */
}

/* Warning křížek */
.swal2-toast-custom .swal2-icon.swal2-warning {
    border: none !important;
    background: transparent !important;
    animation: none !important;
    color: #ffc107 !important;  /* žlutá barva pro warning */
}


/* Minimal style pro potvrzovací dialogy */
.swal-minimal {
    padding: 25px !important;
    border-radius: 8px !important;
    max-width: 400px !important;
    background: white !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

.swal-minimal-title {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #333 !important;
    margin-bottom: 5px !important;
    text-align: left !important;
}

.swal-minimal-text {
    font-size: 14px !important;
    color: #666 !important;
    text-align: left !important;
    margin-top: 0 !important;
    margin-bottom: 20px !important;
}

.swal-minimal-confirm {
    background: #FF4D4F !important;
    color: white !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 8px 20px !important;
    font-size: 14px !important;
    margin: 0 5px !important;
    box-shadow: none !important;
}

.swal-minimal-cancel {
    background: white !important;
    color: #333 !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    padding: 8px 20px !important;
    font-size: 14px !important;
    margin: 0 5px !important;
    box-shadow: none !important;
}

.swal-minimal .swal2-actions {
    justify-content: flex-end !important;
}

/* Ensure proper z-index */
.swal2-container {
    z-index: 9999999 !important;
}

/* Moderní přepínač dark mode */
.theme-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.theme-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(204, 204, 204, 0.41);
    transition: .4s;
    display: flex;
    align-items: center;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    z-index: 2;
}

input:checked + .slider {
    background-color: #2a2a2a;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    transform: translateX(30px);
}

/* Zaoblené rohy */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Ikony pro tmavý a světlý režim */
.toggle-icons {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 8px;
    box-sizing: border-box;
    z-index: 1;
}

.moon-icon {
    color: #6c757d;
    margin-right: auto;
}

.sun-icon {
    color: #ffcf33;
    margin-left: auto;
    font-size: 1rem;
}

.moon-icon, .sun-icon {
    font-size: 14px;
    line-height: 30px;
}


/* dark mode */
html[data-theme="dark"] {
    /* Základní filtry pro tmavý režim */
    filter: invert(90%) hue-rotate(180deg);
    color: #4a90e2; /* Modrý text pro černý původní text */
}

/* Inverzní filtr pro obrázky a media, aby vypadaly normálně */
html[data-theme="dark"] img,
html[data-theme="dark"] video,
html[data-theme="dark"] .bi,
html[data-theme="dark"] [class*="icon"],
html[data-theme="dark"] [class*="logo"],
html[data-theme="dark"] [style*="background-image"],
html[data-theme="dark"] .ask-card {
    filter: invert(100%) hue-rotate(180deg);
}

/* Výjimky pro specifické elementy, které potřebují jiné zacházení */
html[data-theme="dark"] .special-color-element {
    filter: none;
}

/* Dodatečné barvy pro lepší tmavý režim */
html[data-theme="dark"] body {
    background-color: #f9f9f9; /* Bude invertováno na tmavou barvu */
}

html[data-theme="dark"] input#profile-url.form-input,
html[data-theme="dark"] input[type="text"].form-input,
html[data-theme="dark"] .input#profile-url-form-input {
    background-color: #1e1e1e !important;
    color: #4a90e2 !important; /* Modrý text pro vstupy */
    border-color: #333 !important;
}

/* Pokud má input nějaké specifické stavy, přidejte i ty */
html[data-theme="dark"] input#profile-url.form-input:focus,
html[data-theme="dark"] input[type="text"].form-input:focus {
    border-color: #4f46e5 !important;
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.2) !important;
}

/* Pro pokrytí všech možných variant selektoru */
html[data-theme="dark"] [id^="profile-url"],
html[data-theme="dark"] [class*="form-input"] {
    background-color: #1e1e1e !important;
    color: #4a90e2 !important; /* Modrý text pro formulářové prvky */
}

html[data-theme="dark"] .ask-card-header h2 {
    color: white !important; /* nebo jiná modrá barva */
}

/* Suggestions container */
.suggestions-container {
    display: none;
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 999;
}

/* Dark mode styles for suggestions container */
html[data-theme="dark"] .suggestions-container {
    background: #2c2c2c;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.suggestion-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #1e293b;
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
}

.suggestion-item:hover {
    background: rgba(82, 113, 255, 0.08);
    color: #5271ff;
}

/* Dark mode styles for suggestion items */
html[data-theme="dark"] .suggestion-item {
    color: #b0b0b0; /* Světlejší šedá pro tmavý režim */
}

html[data-theme="dark"] .suggestion-item:hover {
    background: rgba(82, 113, 255, 0.2); /* Zvýraznění hover efektu pro tmavý režim */
    color: #6f8dff; /* Světlejší modrá pro tmavý režim */
}

/* Extrémně specifické pravidlo pro topic-input v dark mode */
html[data-theme="dark"] #topic-input,
html[data-theme="dark"] input#topic-input,
html[data-theme="dark"] body #topic-input,
html[data-theme="dark"] form #topic-input {
    background-color: #1e1e1e !important;
    color: #4a90e2 !important; /* Modrý text pro topic input */
    border-color: #333 !important;
}

html[data-theme="dark"] #topic-input:focus {
    border-color: #0077B5 !important;
    box-shadow: 0 0 0 2px rgba(0, 119, 181, 0.2) !important;
    outline: none !important;
}

/* Specifická pravidla pro search-input v tmavém režimu */
html[data-theme="dark"] .search-input {
    background-color: #333 !important; /* Tmavé pozadí */
    color: #e0e0e0 !important; /* Světlý text */
    border: 1px solid #555 !important; /* Tmavší ohraničení */
}

html[data-theme="dark"] .search-input:focus {
    background-color: #444 !important;
    outline: none !important;
    border-color: #5271ff !important; /* Modrý border při focusu */
    box-shadow: 0 0 0 2px rgba(82, 113, 255, 0.2) !important;
}

/* Pro ikonu vyhledávání */
html[data-theme="dark"] .search-icon {
    color: #aaa !important;
}

html[data-theme="dark"] .search-input:focus + .search-icon {
    color: #5271ff !important;
}

.fullscreen-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.loader-content {
    text-align: center;
}

.gradient-score-btn {
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    background-color: white;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Gradient border using a pseudo-element */
.gradient-score-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: 8px;
    background: linear-gradient(90deg, #2D9CDB 0%, #9B51E0 100%);
    mask:
            linear-gradient(#fff 0 0) content-box,
            linear-gradient(#fff 0 0);
    -webkit-mask:
            linear-gradient(#fff 0 0) content-box,
            linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
    transition: opacity 0.3s ease;
}

/* Gradient background fill on hover (hidden by default) */
.gradient-score-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #2D9CDB 0%, #9B51E0 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
    border-radius: 8px;
}

/* Modern hover effect - reveals gradient background */
.gradient-score-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(45, 156, 219, 0.15), 0 6px 10px rgba(155, 81, 224, 0.1);
}

.gradient-score-btn:hover::before {
    opacity: 0.05; /* Subtle gradient background */
}

/* Add a subtle pulse effect to the gradient border on hover */
@keyframes pulse-border {
    0% { padding: 1px; }
    50% { padding: 2px; }
    100% { padding: 1px; }
}

.gradient-score-btn:hover::after {
    animation: pulse-border 1.5s infinite ease-in-out;
}

/* Icon animation on hover */
.gradient-score-btn .icon {
    display: flex;
    transform: translateX(0);
    transition: transform 0.3s ease;
}

.gradient-score-btn:hover .icon {
    transform: translateX(3px);
}

.gradient-score-btn .text {
    font-size: 14px;
    font-weight: 600;
    background: linear-gradient(90deg, #2D9CDB 0%, #9B51E0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: letter-spacing 0.3s ease;
}

/* Add subtle letter spacing on hover */
.gradient-score-btn:hover .text {
    letter-spacing: 0.5px;
}

.gradient-score-btn .icon i {
    background: linear-gradient(90deg, #2D9CDB 0%, #9B51E0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 15px;
}

/* Active state - more pronounced */
.gradient-score-btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.gradient-score-btn:active::before {
    opacity: 0.1;
}

/* Disabled state */
.gradient-score-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.gradient-score-btn:disabled::after {
    animation: none;
    opacity: 0.5;
}

.gradient-score-btn:disabled .icon,
.gradient-score-btn:disabled:hover .icon {
    transform: translateX(0);
}

.gradient-score-btn:disabled .text,
.gradient-score-btn:disabled:hover .text {
    letter-spacing: normal;
}

.back-button {
    padding: 5px 10px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background-color: white;
    color: #4a5568;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    font-size: 0.8rem;
}

.back-button:hover {
    background-color: #f7fafc;
    border-color: royalblue;
    color: royalblue;
}


/* Simple Toast Notification Styles s automatickými ikonami */
.simple-toast {
    position: fixed;
    top: 24px !important;
    left: 50% !important;
    transform: translate(-50%, -20px);
    padding: 14px 18px;
    background-color: #fff;
    color: #2b2b2b;
    border-radius: 10px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 520px;
    width: fit-content;
    z-index: 9999;
    opacity: 0;
    transition: opacity .28s ease, transform .28s ease;
    pointer-events: none;
    border-left: none; !important;
    border: none; !important;
}

.simple-toast.show {
    opacity: 1;
    transform: translate(-50%, 0);
    pointer-events: auto;
}

/* Automatická ikona pomocí ::before */
.simple-toast::before {
    content: '';
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

/* Ikony pro jednotlivé typy */
.simple-toast.success::before {
    content: '✓';
    background: rgba(34,197,94,.12);
    color: #22c55e;
}

.simple-toast.error::before {
    content: '✕';
    background: rgba(239,68,68,.12);
    color: #ef4444;
}

.simple-toast.warning::before {
    content: '⚠';
    background: rgba(245,158,11,.12);
    color: #f59e0b;
}

.simple-toast.info::before {
    content: 'i';
    background: rgba(59,130,246,.12);
    color: #3b82f6;
}

.toast-message {
    margin-right: 6px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: .2px;
}

.toast-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #9aa0a6;
    padding: 0;
    line-height: 1;
    margin-left: auto;
}

.toast-close:hover {
    color: #6b7280;
}

/* Breadcrumb Navigation Styles */
.breadcrumb {
    display: flex;
    align-items: center;
    padding: 0;
    padding-top: 0.4rem;
    list-style: none;
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    background-color: transparent;
    line-height: 40px;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    color: #64748b;
    font-weight: 500;
}

.breadcrumb-item a {
    color: #64748b;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.breadcrumb-item a:hover {
    color: #5271ff;
}

.breadcrumb-item.active {
    color: #4f46e5;
    font-weight: 600;
}

/* Separator between breadcrumb items */
.breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    display: inline-block;
    padding: 0 0.5rem;
    color: #cbd5e0;
}

/* Dark mode support */
html[data-theme="dark"] .breadcrumb-item {
    color: #b0b0b0;
}

html[data-theme="dark"] .breadcrumb-item a {
    color: #b0b0b0;
}

html[data-theme="dark"] .breadcrumb-item a:hover {
    color: #6f8dff;
}

html[data-theme="dark"] .breadcrumb-item.active {
    color: #4f46e5;
}

html[data-theme="dark"] .breadcrumb-item + .breadcrumb-item::before {
    color: #666;
}

.profile-card-avatar-container {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 12px;
}

/* Media query pro rozlišení MacBook Air (1440x900) */
@media screen and (max-width: 1440px) {
    /* Zmenšení základní velikosti fontů */
    html, body {
        font-size: 14px; /* Snížení základní velikosti fontu */
    }

    /* Úprava nadpisů */
    h1 {
        font-size: 1.8rem; /* Zmenšení z typické velikosti ~2rem */
    }

    h2 {
        font-size: 1.5rem; /* Zmenšení z typické velikosti ~1.75rem */
    }

    h3 {
        font-size: 1.3rem; /* Zmenšení z typické velikosti ~1.5rem */
    }

    h4 {
        font-size: 1.1rem; /* Zmenšení z typické velikosti ~1.25rem */
    }

    h5 {
        font-size: 1rem; /* Zmenšení z typické velikosti ~1.1rem */
    }

    h6 {
        font-size: 0.9rem; /* Zmenšení z typické velikosti ~1rem */
    }

    /* Úprava margin pro hlavní obsah */
    .main-content {
        margin-left: 240px; /* Původně 280px */
        padding: 1.5rem; /* Zmenšení paddingu z 2rem */
    }


    /* Úprava hlavičky */
    .header {
        margin-bottom: 1.5rem; /* Zmenšení z 2rem */
    }

    /* Úprava karet */
    .dashboard-card, .ai-card {
        padding: 1.2rem; /* Zmenšení z 1.5rem */
    }

    /* Úprava velikosti tlačítek */
    .main-button, .light-button, .generate-button {
        padding: 0.6rem; /* Zmenšení z 0.75rem */
        font-size: 12px; /* Zmenšení z 13px */
    }

    /* Úprava sekundárních tlačítek */
    .secondary-button {
        padding: 8px 16px; /* Zmenšení z 10px 20px */
        border-radius: 6px; /* Zmenšení z 8px */
        font-size: 0.75rem; /* Zmenšení z 0.8rem */
    }

    /* Zmenšení velikosti buněk tabulky */
    th, td {
        padding: 0.8rem; /* Zmenšení z 1.1rem */
        font-size: 0.8rem; /* Zmenšení z 0.875rem */
    }

    /* Zmenšení search baru */
    .search-input {
        padding: 0.4rem 0.6rem 0.6rem 2.3rem; /* Upraveno z 0.5rem 0.75rem 0.75rem 2.5rem */
    }

    /* Zmenšení profilových obrázků */
    .w-10 {
        width: 35px; /* Zmenšení ze 40px */
    }

    .h-10 {
        height: 35px; /* Zmenšení ze 40px */
    }

    /* Úprava dalších specifických prvků */
    .ai-card {
        width: 260px; /* Zmenšení z 300px */
    }

    .ai-icon {
        width: 35px; /* Zmenšení ze 40px */
        height: 35px; /* Zmenšení ze 40px */
    }

    /* Úprava velikosti badgů */
    .progress-badge, .status-badge {
        padding: 3px 6px; /* Zmenšení ze 4px 8px */
        font-size: 0.75em; /* Zmenšení z 0.85em */
    }

    /* Úprava názvů a popisů v kartách */
    .ai-title {
        font-size: 1.1rem; /* Zmenšení z 1.25rem */
        margin-bottom: 0.4rem; /* Zmenšení z 0.5rem */
    }

    .ai-description {
        font-size: 0.8rem; /* Zmenšení z 0.875rem */
        margin-bottom: 1rem; /* Zmenšení z 1.25rem */
    }
}

.action-button,
.action-button-secondary {
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: transform 0.2s ease, font-size 0.2s ease, background 0.2s ease;
    transform: scale(1);
}

/* Primární modré tlačítko */
.action-button {
    background: blue;
    color: white;
}

.action-button:hover {
    transform: scale(1.015); /* jemný růst */
    font-size: 14.2px;
}

/* Sekundární šedé tlačítko */
.action-button-secondary {
    background: #f5f5f5;
    color: #444;
}

.action-button-secondary:hover {
    background: #e8e8e8;
    transform: scale(1.015);
    font-size: 14.2px;
}

/* Ikona */
.action-button i,
.action-button-secondary i {
    margin-right: 4px;
    font-size: 18px;
    transition: transform 0.2s ease;
}

.action-button:hover i,
.action-button-secondary:hover i {
    transform: scale(1.08); /* jemné zvětšení ikony */
}


.new-bar-pill {
    display: flex;
    align-items: center;
    background-color: rgba(227, 227, 227, 0.65);
    color: #404040;
    padding: 20px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 4rem;
    max-width: fit-content;
}

.new-bar-content {
    display: flex;
    align-items: center;
}

.new-bar-text {
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.2px;
}

.new-bar-arrow {
    margin-left: 12px;
    font-size: 16px;
    opacity: 0.8;
    transition: transform 0.3s ease;
}

.new-bar-pill:hover .new-bar-arrow {
    transform: translateX(3px);
    opacity: 1;
}




