/* Общи стилове и модерен дизайн */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #667eea;
    --primary-dark: #5568d3;
    --secondary: #764ba2;
    --success: #48bb78;
    --danger: #f56565;
    --warning: #ed8936;
    --info: #4299e1;
    --dark: #2d3748;
    --light: #f7fafc;
    --border: #e2e8f0;
    --shadow: rgba(0, 0, 0, 0.1);
    --glass: rgba(255, 255, 255, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    min-height: 100vh;
    padding: 0;
    position: relative;
    overflow-x: hidden;
}

/* Анимиран фон */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(252, 103, 250, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(102, 126, 234, 0.3) 0%, transparent 50%);
    animation: backgroundFloat 20s ease-in-out infinite;
    z-index: -1;
}

@keyframes backgroundFloat {
    0%, 100% {
        transform: translate(0, 0);
    }
    33% {
        transform: translate(30px, -30px);
    }
    66% {
        transform: translate(-20px, 20px);
    }
}

.container {
    max-width: 1600px;
    margin: 20px auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Модерна навигация */
.navigation {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-logo {
    padding: 20px 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: white;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-icon {
    font-size: 32px;
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    0%, 100% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(15deg);
    }
}

.logo-text {
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    flex: 1;
    justify-content: flex-start;
    gap: 5px;
    padding: 0 20px;
    flex-wrap: wrap;
}

.nav-btn {
    padding: 18px 24px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.nav-btn:hover::before {
    transform: translateX(0);
}

.nav-btn:hover {
    color: white;
    transform: translateY(-2px);
}

.nav-btn.active {
    background: white;
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.nav-btn.active::before {
    display: none;
}

.nav-icon {
    font-size: 20px;
}

/* Секции */
.section {
    display: none;
    padding: 40px;
    animation: fadeInUp 0.5s ease;
}

.section.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h1 {
    color: var(--dark);
    margin-bottom: 30px;
    font-size: 36px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    color: #4a5568;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 600;
}

h3 {
    color: #4a5568;
    margin-bottom: 15px;
    margin-top: 25px;
    font-size: 20px;
    font-weight: 600;
}

/* Dashboard стилове */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.dashboard-period {
    display: flex;
    gap: 8px;
    background: white;
    padding: 6px;
    border-radius: 12px;
    box-shadow: 0 2px 10px var(--shadow);
}

.period-btn {
    padding: 10px 20px;
    border: none;
    background: transparent;
    color: #4a5568;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.period-btn:hover {
    background: var(--light);
}

.period-btn.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Статистически карти */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.stat-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 20px var(--shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px var(--shadow);
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-primary .stat-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.stat-success .stat-icon {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
}

.stat-info .stat-icon {
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
}

.stat-warning .stat-icon {
    background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
}

.stat-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    flex-shrink: 0;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.stat-content {
    flex: 1;
}

.stat-label {
    font-size: 13px;
    color: #718096;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
    display:none;
}

.stat-subtitle {
    font-size: 14px;
    color: #a0aec0;
    font-weight: 500;
    display:none;
}

/* Dashboard content */
.dashboard-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 30px;
}

.dashboard-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 20px var(--shadow);
    transition: all 0.3s ease;
    display:none;
}

.dashboard-card:hover {
    box-shadow: 0 8px 30px var(--shadow);
}

.dashboard-card.full-width {
    grid-column: 1 / -1;
}

.card-header {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border);
}

.card-header h3 {
    margin: 0;
    font-size: 20px;
    color: var(--dark);
}

/* Графика */
.chart-container {
    position: relative;
    height: 300px;
}

/* Top списъци */
.top-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.top-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: var(--light);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.top-item:hover {
    background: #edf2f7;
    transform: translateX(5px);
}

.top-item-rank {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.top-item-info {
    flex: 1;
    margin-left: 15px;
}

.top-item-name {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 4px;
}

.top-item-detail {
    font-size: 13px;
    color: #718096;
}

.top-item-value {
    font-weight: 700;
    font-size: 16px;
    color: var(--primary);
}

/* Последни ремонти */
.recent-repairs-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.recent-repair-item {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: 15px;
    align-items: center;
    padding: 15px;
    background: var(--light);
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    transition: all 0.3s ease;
}

.recent-repair-item:hover {
    background: #edf2f7;
    transform: translateX(5px);
    box-shadow: 0 4px 12px var(--shadow);
}

.recent-repair-number {
    font-weight: 700;
    color: var(--primary);
    font-size: 14px;
}

.recent-repair-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.recent-repair-client {
    font-weight: 600;
    color: var(--dark);
}

.recent-repair-car {
    font-size: 13px;
    color: #718096;
}

.recent-repair-date {
    font-size: 13px;
    color: #a0aec0;
    white-space: nowrap;
}

.recent-repair-price {
    font-weight: 700;
    font-size: 16px;
    color: var(--success);
    white-space: nowrap;
}

/* Модерни форми */
.modern-form {
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 4px 20px var(--shadow);
    margin-bottom: 25px;
}

.repair-form {
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 4px 20px var(--shadow);
    margin-bottom: 25px;
}

.settings-form {
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 4px 20px var(--shadow);
    margin-bottom: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    font-family: inherit;
}

/* Специални стилове за operation textarea полета */
#operation-name,
#rc-operation-name,
#edit-operation-name,
#edit-card-operation-name {
    min-height: 60px;
    resize: vertical;
    line-height: 1.4;
    font-size: 15px;
}

/* Textarea Autocomplete Dropdown */
.textarea-autocomplete {
    position: absolute;
    background: white;
    border: 2px solid var(--primary);
    border-radius: 8px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-top: 5px;
    width: calc(100% - 32px);
}

.autocomplete-item {
    padding: 10px 15px;
    cursor: pointer;
    transition: background 0.2s;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item:hover {
    background: #f8f9ff;
    color: var(--primary);
}

.form-group {
    position: relative;
}

.form-group small {
    margin-top: 5px;
    color: var(--warning);
    font-size: 12px;
}

/* Подобрена секция за публични бележки */
.form-group label[for="public-notes"],
.form-group label[for="edit-public-notes"],
.form-group label[for="rc-notes"],
.form-group label[for="edit-card-notes"] {
    color: var(--info);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Стилове за двата типа бележки да се различават визуално */
#public-notes,
#edit-public-notes,
#rc-notes,
#edit-card-notes {
    border-left: 4px solid var(--info);
    background: linear-gradient(to right, #f0f9ff 0%, #ffffff 20%);
}

#internal-notes,
#edit-internal-notes,
#step1-internal-notes,
#rc-internal-notes,
#edit-card-internal-notes {
    border-left: 4px solid var(--warning);
    background: linear-gradient(to right, #fff3e0 0%, #ffffff 20%);
}

/* Модерни бутони */
.btn {
    padding: 14px 28px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:active::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: #e2e8f0;
    color: var(--dark);
}

.btn-secondary:hover {
    background: #cbd5e0;
    transform: translateY(-2px);
}

.btn-success {
    background: linear-gradient(135deg, var(--success) 0%, #38a169 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(72, 187, 120, 0.3);
}

.btn-success:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(72, 187, 120, 0.4);
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger) 0%, #e53e3e 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(245, 101, 101, 0.3);
}

.btn-danger:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(245, 101, 101, 0.4);
}

.btn-warning {
    background: linear-gradient(135deg, var(--warning) 0%, #dd6b20 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(237, 137, 54, 0.3);
}

.btn-warning:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(237, 137, 54, 0.4);
}

.btn-info {
    background: linear-gradient(135deg, var(--info) 0%, #3182ce 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(66, 153, 225, 0.3);
}

.btn-info:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(66, 153, 225, 0.4);
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* Стъпки */
.step-container {
    animation: slideInRight 0.5s ease;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hidden {
    display: none !important;
}

/* Операции - едноредово (операция 2/3, количество+цена 1/3) */
.operation-input {
    display: grid;
    grid-template-columns: 2fr 0.5fr 0.5fr auto;
    gap: 15px;
    margin-bottom: 25px;
    align-items: end;
}

.operation-input .flex-1 {
    min-width: 0;
}

/* Stacked layout за edit modal - operation на отделен ред */
.operation-input-stacked {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.operation-input-row {
    display: grid;
    grid-template-columns: 0.5fr 0.5fr auto;
    gap: 15px;
    align-items: end;
}

/* За ремонтна карта редакция - само цена + бутон */
#edit-form-container .operation-input-row {
    grid-template-columns: 0.5fr auto;
}

/* За ремонтна карта (без количество) */
#repair-card .operation-input {
    grid-template-columns: 2fr 0.5fr auto;
}

/* Auto-fill notification */
.auto-fill-notification {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(72, 187, 120, 0.3);
    animation: slideInDown 0.4s ease;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Подобрена история на ремонти */
.history-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.history-item-left {
    flex: 1;
}

.history-item-number {
    font-weight: 700;
    color: var(--primary);
    font-size: 15px;
    margin-bottom: 4px;
}

.history-item-date {
    color: #718096;
    font-size: 13px;
}

.history-item-actions {
    display: flex;
    gap: 8px;
}

.btn-history-action {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.btn-history-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-history-action span {
    font-size: 16px;
}

/* Детайли в история */
.history-item-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 12px;
    padding: 12px;
    background: #f7fafc;
    border-radius: 8px;
}

.history-detail-row {
    display: flex;
    gap: 8px;
    font-size: 13px;
}

.history-detail-label {
    font-weight: 600;
    color: #4a5568;
    min-width: 80px;
}

.history-detail-value {
    color: #2d3748;
}

.history-item-operations {
    color: #4a5568;
    font-size: 13px;
    margin-bottom: 12px;
    padding: 10px;
    background: #fff;
    border-left: 3px solid var(--primary);
    border-radius: 4px;
}

.history-item-operations strong {
    color: var(--primary);
}

/* Dropdown меню за действия */
.history-actions-menu {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    padding: 8px;
    min-width: 240px;
    animation: menuSlideIn 0.2s ease;
    border: 2px solid var(--border);
}

@keyframes menuSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.history-menu-item {
    width: 100%;
    padding: 12px 16px;
    border: none;
    background: white;
    color: var(--dark);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
    transition: all 0.2s ease;
    text-align: left;
    margin-bottom: 4px;
}

.history-menu-item:last-child {
    margin-bottom: 0;
}

.history-menu-item:hover {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    color: var(--primary);
    transform: translateX(3px);
}

.history-menu-item:active {
    transform: translateX(3px) scale(0.98);
}

.history-menu-item span {
    font-size: 18px;
    flex-shrink: 0;
}

/* Responsive за история */
@media (max-width: 768px) {
    .history-item-details {
        grid-template-columns: 1fr;
    }
    
    .history-item-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .history-item-actions {
        width: 100%;
    }
    
    .btn-history-action {
        flex: 1;
        justify-content: center;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .operation-input {
        grid-template-columns: 1fr 0.4fr 0.6fr auto;
    }
}

@media (max-width: 768px) {
    .operation-input {
        grid-template-columns: 1fr;
    }
    
    #repair-card .operation-input {
        grid-template-columns: 1fr;
    }
}

/* Таблици */
.operations-table,
.data-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
}

.operations-table thead,
.data-table thead {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
}

.operations-table th,
.data-table th {
    padding: 18px 15px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.operations-table td,
.data-table td {
    padding: 15px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.operations-table tbody tr,
.data-table tbody tr {
    transition: all 0.3s ease;
}

.operations-table tbody tr:hover,
.data-table tbody tr:hover {
    background: var(--light);
    transform: scale(1.01);
}

.operations-table .no-operations,
.data-table .no-data {
    text-align: center;
    color: #a0aec0;
    font-style: italic;
    padding: 40px !important;
}

.total-row {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    font-weight: 600;
}

.total-row td {
    border-bottom: none;
    padding: 18px 15px;
    font-size: 15px;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

/* Индикатор за вътрешни бележки в таблицата */
.internal-notes-indicator {
    display: inline-block;
    margin-left: 8px;
    font-size: 14px;
    opacity: 0.6;
    transition: all 0.3s ease;
    cursor: help;
    vertical-align: middle;
}

.internal-notes-indicator:hover {
    opacity: 1;
    transform: scale(1.2);
}

/* Търсене */
.search-container {
    margin-bottom: 25px;
}

.search-container input {
    width: 100%;
    padding: 18px 24px;
    border: 2px solid var(--border);
    border-radius: 16px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 2px 10px var(--shadow);
}

.search-container input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

/* Контейнер за таблица */
.table-container {
    overflow-x: auto;
    border-radius: 16px;
    box-shadow: 0 4px 20px var(--shadow);
}

/* Модали */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1000;
    padding: 20px;
    overflow-y: auto;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: white;
    border-radius: 24px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    padding: 30px 35px;
    border-bottom: 2px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
}

.modal-header h2 {
    margin: 0;
    color: var(--dark);
}

.btn-close {
    background: none;
    border: none;
    font-size: 32px;
    color: #a0aec0;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.btn-close:hover {
    background: #e2e8f0;
    color: var(--dark);
    transform: rotate(90deg);
}

.modal-actions {
    padding: 25px 35px;
    border-top: 2px solid var(--border);
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    background: var(--light);
}

/* Протокол за печат */
.print-modal-content {
    max-width: 1000px;
}

.protocol-content {
    padding: 40px;
}

/* Информация за ремонт */
.repair-info-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.3);
}

.repair-info-header h2 {
    color: white;
    margin-bottom: 12px;
}

.repair-details {
    font-size: 16px;
    opacity: 0.95;
}

/* Редакция на ремонт */
.repair-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 25px;
    border-radius: 16px;
    margin-bottom: 25px;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.repair-header h3 {
    color: white;
    margin: 0;
}

.repair-info {
    margin-top: 10px;
    opacity: 0.95;
}

.operations-section {
    padding: 25px;
}

.operations-section h4 {
    color: #4a5568;
    margin-bottom: 18px;
}

#edit-form-container {
    padding: 35px;
}

/* История на ремонти */
.repair-history {
    margin-top: 35px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 30px var(--shadow);
    overflow: hidden;
    animation: slideDown 0.4s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.history-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.history-header h3 {
    margin: 0;
    color: white;
    font-size: 18px;
}

.btn-close-history {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-close-history:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.history-content {
    max-height: 450px;
    overflow-y: auto;
    padding: 20px;
}

.history-item {
    padding: 18px;
    border: 2px solid var(--border);
    border-radius: 16px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    background: white;
}

.history-item:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.15);
    transform: translateX(5px);
}

.history-item-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.history-item-price {
    font-weight: 700;
    color: var(--success);
    font-size: 16px;
}

.history-no-repairs {
    text-align: center;
    color: #a0aec0;
    padding: 40px;
    font-style: italic;
}

/* Деликатна секция за вътрешни бележки */
.internal-notes-section {
    margin-top: 30px;
    border: 2px solid var(--warning);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(237, 137, 54, 0.08);
    transition: all 0.3s ease;
}

.internal-notes-section:hover {
    box-shadow: 0 4px 15px rgba(237, 137, 54, 0.15);
}

.notes-header {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.notes-header:hover {
    background: linear-gradient(135deg, #ffe0b2 0%, #ffcc80 100%);
}

.notes-header span {
    font-weight: 600;
    color: #e65100;
    font-size: 15px;
}

.btn-toggle-notes {
    background: none;
    border: none;
    color: var(--warning);
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    padding: 8px 12px;
    transition: transform 0.3s ease;
}

.btn-toggle-notes.collapsed {
    transform: rotate(0deg);
}

.notes-content {
    padding: 25px;
    background: #fff;
    animation: expandDown 0.3s ease;
}

.notes-content.hidden {
    display: none;
}

@keyframes expandDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 600px;
    }
}

/* Бързи операции */
.quick-operations-section {
    margin-bottom: 35px;
    border: 2px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
}

.quick-operations-header {
    background: linear-gradient(135deg, var(--success) 0%, #38a169 100%);
    color: white;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quick-operations-header:hover {
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
}

.quick-operations-header h3 {
    margin: 0;
    color: white;
    font-size: 18px;
}

.btn-toggle-menu {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: 8px 15px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-toggle-menu:hover {
    background: rgba(255, 255, 255, 0.3);
}

.btn-toggle-menu.collapsed {
    transform: rotate(0deg);
}

.quick-operations-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
    padding: 20px;
    max-height: 450px;
    overflow-y: auto;
    background: var(--light);
}

.quick-operations-list.hidden {
    display: none;
}

.quick-op-item {
    background: white;
    padding: 18px;
    border-radius: 16px;
    border: 2px solid var(--border);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.quick-op-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, var(--success) 0%, #38a169 100%);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.quick-op-item:hover {
    border-color: var(--success);
    box-shadow: 0 8px 25px rgba(72, 187, 120, 0.25);
    transform: translateY(-3px);
}

.quick-op-item:hover::before {
    transform: scaleY(1);
}

.quick-op-name {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 10px;
    font-size: 15px;
}

.quick-op-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quick-op-count {
    background: linear-gradient(135deg, var(--success) 0%, #38a169 100%);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.quick-op-price {
    color: var(--primary);
    font-weight: 700;
    font-size: 15px;
}

/* Autocomplete стилове */
.autocomplete-wrapper {
    position: relative;
    width: 100%;
}

.autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid var(--primary);
    border-top: none;
    border-radius: 0 0 12px 12px;
    max-height: 320px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    display: none;
}

.autocomplete-dropdown.active {
    display: block;
    animation: dropdownSlide 0.3s ease;
}

@keyframes dropdownSlide {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.autocomplete-item {
    padding: 14px 18px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item:hover,
.autocomplete-item.selected {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
}

.autocomplete-item strong {
    color: var(--primary);
    font-weight: 700;
}

/* Scrollbar за autocomplete */
.autocomplete-dropdown::-webkit-scrollbar {
    width: 10px;
}

.autocomplete-dropdown::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 0 0 12px 0;
}

.autocomplete-dropdown::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.autocomplete-dropdown::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Scrollbar за история и бързи операции */
.history-content::-webkit-scrollbar,
.quick-operations-list::-webkit-scrollbar {
    width: 10px;
}

.history-content::-webkit-scrollbar-track,
.quick-operations-list::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.history-content::-webkit-scrollbar-thumb,
.quick-operations-list::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 10px;
}

.history-content::-webkit-scrollbar-thumb:hover,
.quick-operations-list::-webkit-scrollbar-thumb:hover {
    background: #a0aec0;
}

/* ============================================ */
/* ПЕЧАТ - КОМПАКТЕН A4 ДИЗАЙН (1 СТРАНИЦА) */
/* ============================================ */

.print-doc {
    max-width: 210mm;
    margin: 0 auto;
    padding: 10mm;
    font-family: 'Arial', sans-serif;
    color: #000;
    background: #fff;
    font-size: 8.5pt;
}

/* Компактен хедър - перфектно симетричен */
.p-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8mm;
    margin-bottom: 2mm;
    min-height: 24mm;
}

.p-logo {
    max-width: 60mm;
    max-height: 24mm;
    width: auto;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.p-company {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: right;
    min-width: 0;
}

.p-company-name {
    font-size: 13pt;
    font-weight: bold;
    margin-bottom: 1.5mm;
    color: #000;
    line-height: 1.2;
    word-wrap: break-word;
}

.p-company-info {
    font-size: 7.5pt;
    color: #333;
    line-height: 1.4;
    word-wrap: break-word;
}

/* Линия */
.p-line {
    height: 1px;
    background: #000;
    margin: 2mm 0;
}

/* Заглавие на един ред */
.p-doc-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2mm 0;
    padding: 1.5mm 0;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
}

.p-doc-type {
    font-size: 12pt;
    font-weight: bold;
    letter-spacing: 0.5pt;
}

.p-doc-number {
    font-size: 11pt;
    font-weight: bold;
    border: 1.5px solid #000;
    padding: 1mm 5mm;
    border-radius: 2mm;
}

.p-doc-date {
    font-size: 8.5pt;
    font-weight: 600;
}

/* Компактна информационна таблица */
.p-info {
    width: 100%;
    border-collapse: collapse;
    margin: 2.5mm 0;
    border: 1.5px solid #000;
}

.p-info td {
    padding: 1mm 2.5mm;
    border: 1px solid #888;
    font-size: 8.5pt;
}

.p-label {
    font-weight: bold;
    width: 18%;
    background: #f5f5f5;
}

.p-value {
    width: 32%;
}

/* Заглавие на секция */
.p-section-title {
    font-size: 9.5pt;
    font-weight: bold;
    margin: 3mm 0 1.5mm 0;
    padding-bottom: 1mm;
    border-bottom: 1.5px solid #000;
}

/* Таблица с операции - компактна */
.p-table {
    width: 100%;
    border-collapse: collapse;
    border: 1.5px solid #000;
}

.p-table thead {
    background: #e8e8e8;
}

.p-table th {
    padding: 1.5mm 1mm;
    text-align: left;
    font-size: 8pt;
    font-weight: bold;
    border: 1px solid #666;
    line-height: 1.1;
}

.p-table tbody td {
    padding: 1mm;
    border: 1px solid #888;
    font-size: 8.5pt;
    line-height: 1.2;
}

.p-table tbody tr:nth-child(even) {
    background: #fafafa;
}

.p-border {
    border-right: 1px solid #888 !important;
}

/* Общо */
.p-total {
    background: #e8e8e8 !important;
}

.p-total td {
    padding: 2mm 1mm !important;
    font-size: 9pt !important;
    border-top: 2px solid #000 !important;
}

/* Бележки - компактни */
.p-notes {
    margin: 2.5mm 0 0 0;
    padding: 2mm;
    border: 1px solid #888;
    border-left: 2px solid #000;
    background: #fafafa;
    font-size: 8pt;
    line-height: 1.3;
}

/* КРАЙНА СУМА ЗА ПЛАЩАНЕ */
.p-final-payment {
    margin-top: 5mm;
    display: flex;
    justify-content: flex-end;
    page-break-inside: avoid;
}

.p-payment-box {
    border: 2px solid #000;
    padding: 3mm 5mm;
    background: #f8f9fa;
    min-width: 70mm;
}

.p-payment-label {
    font-size: 9pt;
    font-weight: bold;
    text-align: center;
    margin-bottom: 2mm;
    color: #000;
}

.p-payment-values {
    display: flex;
    justify-content: space-around;
    gap: 3mm;
}

.p-payment-amount {
    font-size: 14pt;
    font-weight: bold;
    color: #000;
    text-align: center;
    padding: 2mm;
    background: white;
    border: 1px solid #000;
    min-width: 30mm;
}

/* Помощни класове */
.p-center {
    text-align: center !important;
}

.p-right {
    text-align: right !important;
}

/* Печат */
@media print {
    /* КРИТИЧНО: Скриване на всичко освен протокола */
    body * {
        visibility: hidden;
    }
    
    #print-modal,
    #print-modal * {
        visibility: visible;
    }
    
    #print-modal {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: auto;
        margin: 0;
        padding: 0;
        background: white;
        display: block !important;
    }

    /* Скриване на ненужни елементи */
    .modal-header,
    .modal-actions,
    .no-print,
    .btn-close,
    .container,
    .navigation {
        display: none !important;
        visibility: hidden !important;
    }

    .modal-content {
        max-width: 100%;
        box-shadow: none;
        border-radius: 0;
        margin: 0;
        padding: 0;
        height: auto;
        max-height: none;
        overflow: visible;
    }

    .protocol-content {
        padding: 0;
        margin: 0;
    }

    body {
        background: white;
        margin: 0;
        padding: 0;
        width: 210mm;
        height: auto;
    }

    html {
        margin: 0;
        padding: 0;
    }

    .print-doc {
        padding: 8mm;
        margin: 0;
        font-size: 8pt;
        width: 210mm;
        min-height: auto;
        height: auto;
        box-sizing: border-box;
    }

    /* Намаляване на хедъра при печат */
    .p-header {
        min-height: 20mm;
        margin-bottom: 1.5mm;
    }

    .p-logo {
        max-width: 50mm;
        max-height: 20mm;
    }

    .p-company-name {
        font-size: 12pt;
        margin-bottom: 1mm;
    }

    .p-company-info {
        font-size: 7pt;
    }

    .p-line {
        margin: 1.5mm 0;
    }

    .p-doc-title {
        margin: 1.5mm 0;
        padding: 1mm 0;
    }

    .p-doc-type {
        font-size: 11pt;
    }

    .p-doc-number {
        font-size: 10pt;
        padding: 0.8mm 4mm;
    }

    .p-doc-date {
        font-size: 8pt;
    }

    .p-info {
        margin: 2mm 0;
    }

    .p-info td {
        padding: 0.8mm 2mm;
        font-size: 8pt;
    }

    .p-section-title {
        font-size: 9pt;
        margin: 2.5mm 0 1mm 0;
    }

    .p-table th {
        padding: 1mm 0.8mm;
        font-size: 7.5pt;
    }

    .p-table tbody td {
        padding: 0.8mm;
        font-size: 8pt;
    }

    .p-total td {
        padding: 1.5mm 1mm !important;
        font-size: 8.5pt !important;
    }

    .p-notes {
        margin: 2mm 0 0 0;
        padding: 1.5mm;
        font-size: 7.5pt;
    }

    /* КРАЙНА СУМА - Print */
    .p-final-payment {
        margin-top: 3mm;
        page-break-inside: avoid;
    }

    .p-payment-box {
        border: 2px solid #000;
        padding: 2mm 4mm;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .p-payment-label {
        font-size: 8pt;
        margin-bottom: 1.5mm;
    }

    .p-payment-amount {
        font-size: 12pt;
        padding: 1.5mm;
        border: 1px solid #000;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    /* A4 формат с минимални margins */
    @page {
        size: A4 portrait;
        margin: 0;
        padding: 0;
    }

    /* Предотвратяване на разкъсване */
    .p-header,
    .p-doc-title,
    .p-info {
        page-break-inside: avoid;
        break-inside: avoid;
    }

    .p-table {
        page-break-inside: auto;
    }

    .p-table tr {
        page-break-inside: avoid;
        break-inside: avoid;
    }

    /* Фиксиране на фонове за печат */
    .p-label,
    .p-table thead,
    .p-total,
    .p-notes {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
        color-adjust: exact;
    }

    .p-table tbody tr:nth-child(even) {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
        color-adjust: exact;
    }

    /* Премахване на ненужни ефекти */
    * {
        box-shadow: none !important;
        text-shadow: none !important;
        background-image: none !important;
    }

    /* Премахване на orphans и widows */
    p, h1, h2, h3, h4, h5, h6 {
        orphans: 3;
        widows: 3;
    }

    /* Оптимизация за максимално съдържание */
    html, body {
        height: auto;
        overflow: visible;
    }
    
    /* Скриване на scrollbars */
    ::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }
}

/* Преглед преди печат (screen) */
@media screen {
    .print-doc {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        margin: 20px auto;
    }
}

/* Responsive дизайн */
@media (max-width: 1200px) {
    .dashboard-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        margin: 10px;
        border-radius: 20px;
    }

    .navigation {
        flex-direction: column;
    }

    .nav-logo {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
        justify-content: center;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        padding: 10px;
    }

    .nav-btn {
        width: 100%;
        justify-content: center;
    }

    .section {
        padding: 20px;
    }

    h1 {
        font-size: 28px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-period {
        width: 100%;
        overflow-x: auto;
    }

    .form-actions,
    .modal-actions {
        flex-direction: column;
    }

    .form-actions .btn,
    .modal-actions .btn {
        width: 100%;
    }

    .quick-operations-list {
        grid-template-columns: 1fr;
    }

    .recent-repair-item {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 0;
    }

    .container {
        margin: 0;
        border-radius: 0;
    }

    .section {
        padding: 15px;
    }

    h1 {
        font-size: 24px;
    }

    .stat-value {
        font-size: 26px;
    }

    .nav-logo {
        padding: 15px 20px;
        font-size: 20px;
    }

    .logo-icon {
        font-size: 26px;
    }
}

/* Анимации при зареждане */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Loading спинер (за бъдещи нужди) */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Tooltip стилове (за бъдещи нужди) */
.tooltip {
    position: relative;
}

.tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 12px;
    background: var(--dark);
    color: white;
    border-radius: 8px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.tooltip:hover::after {
    opacity: 1;
}

/* Search highlight */
.search-highlight,
mark.search-highlight {
    background: linear-gradient(135deg, #ffd93d 0%, #ffed4e 100%);
    color: #000;
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: 700;
    box-shadow: 0 2px 4px rgba(255, 217, 61, 0.3);
}