/* Стили для главной страницы */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f5f5f5;
}

h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 10px;
}

p {
    text-align: center;
    color: #7f8c8d;
    margin-bottom: 30px;
}

.conversion-section {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.conversion-section h2 {
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #ecf0f1;
    text-align: center;
}

.conversion-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 10px 20px;
}

.conversion-button {
    display: inline-block;
    padding: 14px 24px;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 16px;
    min-width: 160px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(52, 152, 219, 0.2);
    border: none;
    cursor: pointer;
}

.conversion-button:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(52, 152, 219, 0.3);
}

.conversion-button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(52, 152, 219, 0.2);
}

/* Стили для внутренних страниц */
.file-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

.file-input {
    width: 100%;
    padding: 10px;
    border: 2px solid #3498db;
    border-radius: 8px;
    font-size: 16px;
    background-color: white;
    box-sizing: border-box;

}

.file-input:focus {
    outline: none;
    border-color: #2980b9;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
}

.conversion-button {
    margin-top: 20px;
}

.back-link {
    display: inline-block;
    margin-top: 20px;
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Адаптивность */
@media (max-width: 370px) {
    .conversion-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .conversion-button {
    }
}