body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: white;
    color: white;
}

.logo, .tagline, label, footer, button, [class*="-title"], [class*="-btn"] {
    font-weight: 700;
}

.container {
    max-width: 846px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
    background-color: #2e3192;
    position: relative;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
}

.square {
    border-radius: 0;
}

.logo {
    font-size: 3em;
    margin: 40px 0;
}

.logo a {
    text-decoration: none;
    color: white;
}

.logo span {
    color: #ff6347;
}

.tagline {
    font-size: 1.5em;
    margin-bottom: 50px;
}

.upload-btn {
    background-color: #ff6347;
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.2em;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
}

.file-size-info {
    font-size: 0.9em;
    margin-top: 10px;
    color: #ddd;
}

.footer {
    background-color: white;
    color: #333;
    padding: 20px 0;
    width: 100%;
    max-width: 886px;
    text-align: center;
    margin: 50px auto 0;
}

.footer-links {
    margin: 10px 0;
}

.footer-links a {
    color: #ff6347;
    margin: 0 15px;
    text-decoration: none;
}

.secondary-links {
    margin-top: 15px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.secondary-links a {
    color: #ccc;
    font-size: 0.75em;
    margin: 0 10px;
    opacity: 0.3;
    transition: opacity 0.3s;
}

.secondary-links a:hover {
    color: #999;
    opacity: 0.6;
}

/* Медиа-запрос для мобильных устройств */
@media screen and (max-width: 768px) {
    .container {
        max-width: 100%;
        padding: 15px;
    }
    
    .logo {
        font-size: 2em;
        margin: 20px 0;
        word-break: break-word;
    }
    
    .tagline {
        font-size: 1.2em;
        margin-bottom: 30px;
    }
    
    .footer {
        margin: 0 auto;
        max-width: 100%;
    }
    
    .footer-links a {
        margin: 0 8px;
        font-size: 0.9em;
    }
    
    .secondary-links a {
        margin: 0 5px;
        font-size: 0.8em;
        display: inline-block;
        padding: 3px 0;
    }
}

@media screen and (max-width: 480px) {
    .logo {
        font-size: 1.7em;
    }
    
    .upload-btn {
        padding: 12px 30px;
        font-size: 1.1em;
    }
}

.wave {
    width: 100%;
    height: 168px;
    background-image: url(wave.svg);
    background-size: contain;
    background-position: top center;
    background-repeat: no-repeat;
    margin-top: -1px;
}

#fileInput {
    display: none;
}

/* Стили для страницы загрузки */
.upload-form {
    background-color: white;
    padding: 30px;
    border-radius: 5px;
    max-width: 600px;
    margin: 0 auto;
    color: #333;
    text-align: left;
}

.file-name {
    margin-bottom: 20px;
}

.file-name-text {
    font-weight: 700;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.confirm-btn {
    background-color: #ff6347;
    color: white;
    border: none;
    padding: 12px 0;
    font-size: 1.2em;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    text-align: center;
}

.terms {
    margin-top: 10px;
    font-size: 0.9em;
    text-align: center;
}

.terms a {
    color: #ff6347;
    text-decoration: none;
}

/* Стили для страницы благодарности */
.message {
    font-size: 1.2em;
    line-height: 1.6;
    margin: 40px auto;
    max-width: 800px;
}

/* Стили для страницы скачивания */
.header {
    background-color: #2e3192;
    padding: 10px 0;
    text-align: center;
    max-width: 886px;
    margin: 0 auto 20px;
    border-radius: 0 0 5px 5px;
}

.file-info {
    margin-bottom: 30px;
}

.report-link {
    margin-top: 10px;
}

.report-link a {
    color: #ff6347;
    text-decoration: none;
}

.download-btn {
    background-color: #ff6347;
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.2em;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.ad-container {
    margin: 40px 0;
    padding: 20px;
    background-color: #eee;
    color: #333;
    border-radius: 5px;
    text-align: center;
}

/* Стили для страниц с формами */
.report-form, .contact-form, .thanks-box, .deleted-box, .error-box {
    background-color: white;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto;
    color: #333;
}

.form-title, .thanks-title, .deleted-title, .error-title {
    font-size: 1.5em;
    margin-bottom: 20px;
    color: #2e3192;
    text-align: center;
}

.file-info {
    margin-bottom: 20px;
    padding-bottom: 20px;
    text-align: center;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group select, .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.required {
    color: #ff6347;
}

.submit-btn, .back-btn {
    background-color: #ff6347;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1.2em;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.submit-btn {
    width: 100%;
}

.contact-info {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #eee;
    text-align: center;
}

.contact-info h3 {
    color: #2e3192;
    margin-bottom: 15px;
}

.thanks-icon, .deleted-icon, .error-code {
    font-size: 4em;
    color: #4CAF50;
    margin-bottom: 20px;
}

.deleted-icon {
    color: #ff6347;
}

.error-code {
    font-weight: bold;
    color: #ff6347;
}

.thanks-message, .deleted-message, .error-message {
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Стили для страницы условий использования */
.terms-box {
    background-color: white;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-width: 1000px;
    margin: 0 auto;
    color: #333;
}

.terms-title {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #2e3192;
    text-align: center;
}

.terms-content {
    line-height: 1.6;
    text-align: left;
}

.terms-section {
    margin-bottom: 30px;
}

.terms-section h2 {
    color: #2e3192;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.terms-section ul {
    padding-left: 20px;
}

.terms-section li {
    margin-bottom: 10px;
} 