/* Стили для Driver.js */
.driver-popover {
    background: linear-gradient(145deg, 
        rgba(30, 30, 30, 0.95) 0%, 
        rgba(45, 45, 45, 0.9) 25%, 
        rgba(35, 35, 35, 0.95) 50%, 
        rgba(25, 25, 25, 0.9) 75%, 
        rgba(20, 20, 20, 0.95) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 16px !important;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.8),
        0 8px 16px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(20px) !important;
    color: #ffffff !important;
}

.driver-popover-title {
    color: #ffffff !important;
    font-weight: bold !important;
    font-size: 18px !important;
    font-family: sans-serif !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
}

.driver-popover-description {
    color: #cccccc !important;
    font-size: 14px !important;
    font-family: sans-serif !important;
    line-height: 1.4 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
}

.driver-popover-footer {
    background: linear-gradient(135deg, 
        rgba(40, 40, 40, 0.9) 0%, 
        rgba(60, 60, 60, 0.8) 25%, 
        rgba(40, 40, 40, 0.9) 50%, 
        rgba(60, 60, 60, 0.8) 75%, 
        rgba(40, 40, 40, 0.9) 100%) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 0 0 16px 16px !important;
}

.driver-popover-footer button {
    border-radius: 12px !important;
    font-weight: 600 !important;
    font-family: sans-serif !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    padding: 12px 20px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    position: relative !important;
    overflow: hidden !important;
}

.driver-popover-footer button::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent) !important;
    transition: left 0.5s !important;
}

.driver-popover-footer button:hover::before {
    left: 100% !important;
}

.driver-popover-footer .driver-next-btn {
    background: linear-gradient(135deg, 
        rgba(255, 0, 127, 0.9) 0%, 
        rgba(255, 64, 160, 0.8) 25%, 
        rgba(255, 0, 127, 0.9) 50%, 
        rgba(255, 64, 160, 0.8) 75%, 
        rgba(255, 0, 127, 0.9) 100%) !important;
    color: #ffffff !important;
    box-shadow: 
        0 8px 25px rgba(255, 0, 127, 0.4),
        0 4px 12px rgba(255, 64, 160, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    border: 1px solid rgba(255, 0, 127, 0.3) !important;
}

.driver-popover-footer .driver-next-btn:hover {
    background: linear-gradient(135deg, 
        rgba(255, 0, 127, 1) 0%, 
        rgba(255, 64, 160, 0.9) 25%, 
        rgba(255, 0, 127, 1) 50%, 
        rgba(255, 64, 160, 0.9) 75%, 
        rgba(255, 0, 127, 1) 100%) !important;
    box-shadow: 
        0 12px 35px rgba(255, 0, 127, 0.6),
        0 6px 18px rgba(255, 64, 160, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
    transform: translateY(-3px) scale(1.02) !important;
}

.driver-popover-footer .driver-prev-btn,
.driver-popover-footer .driver-close-btn {
    background: linear-gradient(135deg, 
        rgba(70, 70, 70, 0.9) 0%, 
        rgba(90, 90, 90, 0.8) 25%, 
        rgba(70, 70, 70, 0.9) 50%, 
        rgba(90, 90, 90, 0.8) 75%, 
        rgba(70, 70, 70, 0.9) 100%) !important;
    color: #e0e0e0 !important;
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.4),
        0 3px 10px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.driver-popover-footer .driver-prev-btn:hover,
.driver-popover-footer .driver-close-btn:hover {
    background: linear-gradient(135deg, 
        rgba(90, 90, 90, 0.95) 0%, 
        rgba(110, 110, 110, 0.85) 25%, 
        rgba(90, 90, 90, 0.95) 50%, 
        rgba(110, 110, 110, 0.85) 75%, 
        rgba(90, 90, 90, 0.95) 100%) !important;
    color: #ffffff !important;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.5),
        0 4px 12px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
    transform: translateY(-2px) scale(1.01) !important;
}

/* Стили для приветственного модального окна гайда */
.guide-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.9) 0%, 
        rgba(20, 20, 20, 0.85) 25%, 
        rgba(40, 40, 40, 0.8) 50%, 
        rgba(20, 20, 20, 0.85) 75%, 
        rgba(0, 0, 0, 0.9) 100%);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.guide-modal-container {
    background: linear-gradient(145deg, 
        rgba(30, 30, 30, 0.95) 0%, 
        rgba(45, 45, 45, 0.9) 25%, 
        rgba(35, 35, 35, 0.95) 50%, 
        rgba(25, 25, 25, 0.9) 75%, 
        rgba(20, 20, 20, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 35px;
    max-width: 480px;
    text-align: center;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.8),
        0 8px 16px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    backdrop-filter: blur(20px);
}

.guide-modal-header {
    margin-bottom: 20px;
}

.guide-modal-title {
    color: #ffffff;
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    font-family: sans-serif;
    line-height: 1.3;
}

.guide-modal-body {
    margin-bottom: 25px;
}

.guide-modal-description {
    color: #cccccc;
    font-size: 16px;
    margin: 0;
    font-family: sans-serif;
    line-height: 1.4;
}

.guide-modal-divider {
    width: 100%;
    height: 1px;
    background-color: #4a4a4a;
    margin: 20px 0;
}

.guide-modal-footer {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.guide-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: sans-serif;
    min-width: 180px;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.guide-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.guide-btn:hover::before {
    left: 100%;
}

.guide-btn-primary {
    background: linear-gradient(135deg, 
        rgba(255, 0, 127, 0.9) 0%, 
        rgba(255, 64, 160, 0.8) 25%, 
        rgba(255, 0, 127, 0.9) 50%, 
        rgba(255, 64, 160, 0.8) 75%, 
        rgba(255, 0, 127, 0.9) 100%);
    color: #ffffff;
    box-shadow: 
        0 8px 25px rgba(255, 0, 127, 0.4),
        0 4px 12px rgba(255, 64, 160, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 0, 127, 0.3);
}

.guide-btn-primary:hover {
    background: linear-gradient(135deg, 
        rgba(255, 0, 127, 1) 0%, 
        rgba(255, 64, 160, 0.9) 25%, 
        rgba(255, 0, 127, 1) 50%, 
        rgba(255, 64, 160, 0.9) 75%, 
        rgba(255, 0, 127, 1) 100%);
    box-shadow: 
        0 12px 35px rgba(255, 0, 127, 0.6),
        0 6px 18px rgba(255, 64, 160, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: translateY(-3px) scale(1.02);
}

.guide-btn-secondary {
    background: linear-gradient(135deg, 
        rgba(70, 70, 70, 0.9) 0%, 
        rgba(90, 90, 90, 0.8) 25%, 
        rgba(70, 70, 70, 0.9) 50%, 
        rgba(90, 90, 90, 0.8) 75%, 
        rgba(70, 70, 70, 0.9) 100%);
    color: #e0e0e0;
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.4),
        0 3px 10px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.guide-btn-secondary:hover {
    background: linear-gradient(135deg, 
        rgba(90, 90, 90, 0.95) 0%, 
        rgba(110, 110, 110, 0.85) 25%, 
        rgba(90, 90, 90, 0.95) 50%, 
        rgba(110, 110, 110, 0.85) 75%, 
        rgba(90, 90, 90, 0.95) 100%);
    color: #ffffff;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.5),
        0 4px 12px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-2px) scale(1.01);
}

.guide-btn-icon {
    font-size: 14px;
    font-weight: bold;
}

.guide-btn-text {
    font-size: 16px;
}

.guide-btn-image {
    width: 16px;
    height: 16px;
    object-fit: contain;
}
