/* ============================================================
   dashboard.css — стили главной страницы
   ============================================================ */

.dashboard-container {
    padding: 40px 50px;
    max-width: 1200px;
}

/* Приветствие */
.welcome-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
}

.welcome-text h1 {
    font-size: 34px;
    font-weight: 700;
    margin: 8px 0 6px 0;
}

.welcome-text p {
    font-size: 11px;
    color: var(--text-gray);
}

.btn-ask-ai {
    background: var(--primary-green-light);
    color: var(--primary-green-hover);
    border: none;
    padding: 12px 16px;
    border-radius: 11px;
    font-size: 9px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Карточка цели */
.goal-card {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 24px rgba(20, 51, 46, 0.04);
    border-radius: 17px;
    padding: 22px;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
}

.goal-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-green-soft);
    color: var(--primary-green-hover);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    font-weight: 700;
    margin-right: 20px;
}

.goal-info h4 {
    font-size: 8px;
    font-weight: 700;
    color: #8C9996;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.goal-info h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}

.goal-info p {
    font-size: 9px;
    color: var(--text-gray);
}

.goal-progress {
    margin-left: auto;
    width: 330px;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    font-size: 8px;
    font-weight: 700;
    color: #8C9996;
    margin-bottom: 8px;
}

.progress-header span:last-child {
    color: var(--primary-green-hover);
    font-size: 12px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #E5EFED;
    border-radius: 4px;
    margin-bottom: 6px;
}

.progress-fill {
    width: 0%;
    height: 100%;
    background: var(--primary-green);
    border-radius: 4px;
}

.goal-progress p {
    font-size: 8px;
    color: var(--text-light);
}

/* AI input */
.ai-input-row {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 24px rgba(20, 51, 46, 0.04);
    border-radius: 16px;
    padding: 10px 10px 10px 14px;
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.ai-input-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-green-light);
    color: var(--primary-green-hover);
    border-radius: 11px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    margin-right: 14px;
}

.ai-input-row input {
    flex-grow: 1;
    border: none;
    outline: none;
    font-size: 11px;
    color: var(--text-dark);
    background: transparent;
    font-family: inherit;
}

.ai-input-row input::placeholder { color: #98A4A1; }

.btn-add {
    background: var(--primary-green);
    color: #FFFFFF;
    border: none;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
}

/* Kanban */
.board-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.board-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.board-title h2 {
    font-size: 18px;
    font-weight: 700;
}

.board-badge {
    background: #E7EDEB;
    color: var(--text-gray);
    font-size: 10px;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 13px;
}

.board-focus {
    font-size: 9px;
    color: var(--text-gray);
}

.kanban-board {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.kanban-col {
    border-radius: 15px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    min-height: 400px;
}

.kanban-col.col-1 { background: var(--danger-bg); }
.kanban-col.col-2 { background: var(--warning-bg); }
.kanban-col.col-3 { background: var(--info-bg); }
.kanban-col.col-4 { background: var(--success-bg); }

.col-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.col-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.col-1 .dot { background: var(--danger); }
.col-2 .dot { background: var(--warning); }
.col-3 .dot { background: var(--info); }
.col-4 .dot { background: var(--success); }

.col-badge {
    background: #FFFFFF;
    color: var(--text-gray);
    font-size: 10px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 13px;
}

.empty-card {
    background: #FFFFFF;
    border: 1px dashed var(--border-color);
    border-radius: 12px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 10px;
    color: var(--text-light);
    margin-bottom: 10px;
}