/* Убираем фон для body, оставляя базовые стили */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background: #f7f7f7;
}

/* Контейнер мастера с анимированным фоном и полупрозрачной подложкой */
.ai-wizard-container {
    position: relative;
    /* max-width: 900px; */
    margin: 30px auto;
    background: linear-gradient(270deg, #4CAF50, #66BB6A, #81C784, #8BC34A, #81C784, #66BB6A);
    background-size: 150% 150%;
    animation: gradientBackground 20s ease infinite;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    z-index: 1;
    overflow: hidden;
	margin-right: 20px;	
	margin-left: 20px;
}

.ai-wizard-container::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #fff;
    opacity: 0.7;
    z-index: -1;
}

@keyframes gradientBackground {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Шапка */
.ai-wizard-header {
    text-align: center;
    margin-bottom: 20px;
}

.ai-wizard-header h1 {
    background: linear-gradient(45deg, #4CAF50, #8BC34A);
    color: #fff;
    padding: 15px;
    border-radius: 6px;
    margin: 0;
    font-size: 28px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Индикаторы шагов */
.ai-wizard-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.ai-wizard-step-indicator {
    flex: 1;
    text-align: center;
    border-bottom: 2px solid #ccc;
    line-height: 2;
    position: relative;
    margin: 0 5px;
    font-weight: 500;
    color: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.ai-wizard-step-indicator.active {
    border-bottom: 4px solid #4CAF50;
    font-weight: bold;
    color: #4CAF50;
}

.ai-wizard-step-indicator::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: #fff;
    border: 2px solid #4CAF50;
    border-radius: 50%;
    display: none;
}

.ai-wizard-step-indicator.active::after {
    display: block;
}

.step-icon {
    transition: transform 0.3s ease;
}

.ai-wizard-step-indicator.active .step-icon {
    transform: scale(1.2);
}

/* Содержимое */
.ai-wizard-content h2 {
    color: #222;
    margin-bottom: 10px;
}

.ai-wizard-content p {
    margin-bottom: 15px;
    color: #333;
    line-height: 1.6;
}

/* Анимации SVG */
.ai-wizard-animation {
    text-align: center;
    margin: 15px 0;
}

.welcome-svg, .finish-svg {
    overflow: visible;
}

.pulse-circle {
    animation: pulse 2s infinite ease-in-out;
}

.checkmark {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: drawCheck 1s ease forwards 0.5s;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 1; }
}

@keyframes drawCheck {
    to { stroke-dashoffset: 0; }
}

/* Таблица */
.system-check-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.system-check-table th,
.system-check-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.system-check-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #222;
}

.system-check-table td svg {
    vertical-align: middle;
}

/* Навигация */
.ai-wizard-nav {
    margin-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ai-wizard-nav .nav-left,
.ai-wizard-nav .nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ai-wizard-btn {
    background: linear-gradient(45deg, #4CAF50, #8BC34A);
    border: none;
    color: #fff;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ai-wizard-btn:hover {
    background: linear-gradient(45deg, #43A047, #7CB342);
    transform: translateY(-2px);
}

.ai-wizard-btn-secondary {
    background: transparent;
    color: #4CAF50;
    border: 2px solid #4CAF50;
}

.ai-wizard-btn-secondary:hover {
    background: #4CAF50;
    color: #fff;
}

.ai-wizard-skip-link {
    background: none;
    border: none;
    color: #FFC107;
    text-decoration: underline;
    cursor: pointer;
    font-size: 16px;
    padding: 0;
}

.ai-wizard-skip-link:hover {
    color: #FFB300;
}

/* Настройки уведомлений */
.notification-settings {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: #222;
}

.notification-settings input[type="email"],
.notification-settings input[type="text"] {
    width: 100%;
    max-width: 400px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.notification-settings input[type="email"]:focus,
.notification-settings input[type="text"]:focus {
    border-color: #4CAF50;
    outline: none;
}

/* Футер */
.ai-wizard-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #b8b8b8;
}

.ai-wizard-footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.footer-link {
    text-decoration: none;
    color: #4CAF50;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: #333;
    transform: translateY(-2px);
}

/* Подсказки */
#interactive-hint {
    display: none;
    position: fixed;
    z-index: 1001;
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    font-family: 'Segoe UI', sans-serif;
    max-width: 320px;
    overflow: hidden;
    transition: all 0.3s ease;
    transform-origin: center;
    opacity: 0;
    transform: scale(0.9);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9); /* Центрирование */
}

#hint-buttons button {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

#hint-next {
    background: #4CAF50;
    color: #fff;
    box-shadow: 0 2px 5px rgba(76,175,80,0.3);
}

#hint-next:hover {
    background: #43A047;
    transform: scale(1.05);
}

#hint-skip {
    background: #e9ecef;
    color: #495057;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

#hint-skip:hover {
    background: #ced4da;
    transform: scale(1.05);
}

/* Исходный стиль подсветки */
.highlight {
    position: relative;
    z-index: 1000;
    background: #fff;
    border-radius: 8px;
    overflow: visible;
}

.highlight::before {
    content: "";
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 0 15px 10px rgba(255, 255, 255, 0.8);
    filter: blur(5px);
    pointer-events: none;
    z-index: -1;
}

/* Стили для модального окна подсказок в мастере */
.ai-help-modal {
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
    display: none;
    align-items: center;
    justify-content: center;
}

.ai-help-modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 4px;
    width: 80%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.ai-help-modal-close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.ai-wizard-step-indicator.completed {
    color: #8BC34A;
    border-bottom: 2px solid #8BC34A;
}

.ai-wizard-step-indicator.completed:hover {
    cursor: pointer;
    background: rgba(139, 195, 74, 0.1); /* Легкий фон при наведении */
}

.ai-wizard-step-indicator:not(.completed):not(.active) {
    color: #424242;
    cursor: default;
}







