* {
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    font-family: 'Segoe UI', Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 16px;
}

.container {
    background-color: #ffffff;
    padding: 32px 24px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    text-align: center;
    max-width: 420px;
    width: 100%;
}

/* Шапка */
.header {
    margin-bottom: 24px;
}

.logo {
    font-size: 2.5em;
    display: block;
    margin-bottom: 4px;
}

h1 {
    color: #2d3748;
    margin: 0 0 4px 0;
    font-size: 1.8em;
}

.subtitle {
    color: #a0aec0;
    margin: 0;
    font-size: 0.9em;
}

/* Карточки статистики */
.stats {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.stat-card {
    background: #f7fafc;
    border-radius: 12px;
    padding: 14px 16px;
    text-align: left;
    border: 1px solid #e2e8f0;
    transition: transform 0.2s;
}

.stat-card:hover {
    transform: translateY(-2px);
}

.stat-card.accent {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
}

.stat-card.accent .stat-label {
    color: rgba(255, 255, 255, 0.8);
}

.stat-card.accent .stat-value {
    color: #fff;
}

.stat-label {
    color: #a0aec0;
    font-size: 0.8em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 1.4em;
    font-weight: 700;
    color: #2d3748;
    margin: 4px 0 0 0;
}

/* Прогресс-бар */
.goal-section {
    margin-bottom: 20px;
    text-align: left;
}

.goal-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.85em;
    color: #718096;
    margin-bottom: 6px;
}

.progress-bar {
    background: #e2e8f0;
    border-radius: 8px;
    height: 10px;
    overflow: hidden;
}

.progress-fill {
    background: linear-gradient(90deg, #667eea, #764ba2);
    height: 100%;
    width: 0%;
    border-radius: 8px;
    transition: width 0.5s ease;
}

/* Поля ввода */
.input-section {
    margin-bottom: 12px;
}

input {
    padding: 12px 14px;
    margin-bottom: 10px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    width: 100%;
    font-size: 0.95em;
    transition: border-color 0.2s;
    outline: none;
}

input:focus {
    border-color: #667eea;
}

button {
    padding: 12px;
    width: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 10px;
    transition: opacity 0.2s, transform 0.1s;
}

button:hover {
    opacity: 0.9;
}

button:active {
    transform: scale(0.98);
}
