body {
    font-family: 'Verdana', sans-serif;
    background-color: #2c3e50;
    color: #ecf0f1;
    margin: 0;
    padding: 0;
    text-align: center;
}

.header {
    background-color: #34495e;
    padding: 30px 20px;
    border-bottom: 5px solid #2ecc71;
}

.header h1 {
    color: #2ecc71;
    font-size: 2.2em;
}

.header p {
    font-size: 1.1em;
    color: #bdc3c7;
}

.crafting-workbench {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 30px;
}

.panel {
    background-color: #34495e;
    border: 2px solid #2ecc71;
    border-radius: 8px;
    padding: 20px;
    width: 380px; /* Увеличенная ширина */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.panel h2 {
    color: #f1c40f;
    border-bottom: 1px solid #4e6a86;
    padding-bottom: 10px;
    margin-top: 0;
}

.list-view {
    min-height: 150px;
    max-height: 350px;
    overflow-y: auto;
    margin-bottom: 15px;
    text-align: left;
}

/* Стили для кнопок */
.btn {
    display: block;
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    font-weight: bold;
    cursor: pointer;
    border: none;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.gather-btn {
    background-color: #e74c3c;
    color: #fff;
}

.gather-btn:hover {
    background-color: #c0392b;
}

.craft-btn {
    background-color: #3498db;
    color: #fff;
    margin-top: 5px;
}

.craft-btn:hover:not(:disabled) {
    background-color: #2980b9;
}

.craft-btn:disabled {
    background-color: #7f8c8d;
    cursor: not-allowed;
}

.next-btn {
    background-color: #2ecc71;
    color: #34495e;
    margin-top: 30px;
    font-size: 1.2em;
}

.next-btn:hover {
    background-color: #27ae60;
}

/* Элементы списков */
.resource-item, .crafting-recipe {
    padding: 5px 0;
    border-bottom: 1px dotted #4e6a86;
    line-height: 1.4;
}

.resource-item span {
    font-weight: bold;
}

.hidden {
    display: none !important;
}

#progress-display {
    padding-top: 15px;
    border-top: 1px solid #4e6a86;
}

#phone-status {
    color: #f39c12;
}

/* Улучшение внешнего вида рецепта */
.crafting-recipe {
    display: block; 
    text-align: left;
    padding: 5px 0;
    border-bottom: 1px dotted #4e6a86;
    line-height: 1.4;
}
.crafting-recipe .requirements {
    font-size: 0.9em;
    color: #ccc;
    display: block;
    margin-top: 5px;
}
.crafting-recipe span {
    font-weight: bold;
    font-size: 1em;
}