.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.file-list {
    margin: 20px 0;
    padding: 10px;
    border: 1px solid #ddd;
    min-height: 100px;
}

.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
    margin: 5px 0;
    background: #f5f5f5;
}

.comment-section textarea {
    width: 100%;
    min-height: 100px;
    margin: 20px 0;
    padding: 10px;
}

.buttons {
    margin: 20px 0;
}

button {
    padding: 10px 20px;
    margin-right: 10px;
    cursor: pointer;
}

.auth-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fff;
}

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

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

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

.auth-links {
    margin-top: 15px;
    text-align: center;
}

.auth-links a {
    color: #0066cc;
    text-decoration: none;
}

.auth-links a:hover {
    text-decoration: underline;
}

.flash-message {
    padding: 10px;
    margin-bottom: 15px;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    color: #721c24;
}

/* Общие стили для кнопок, используемые в разных частях приложения */
.btn-edit {
    background-color: #e3f2fd !important;
    border-color: #90caf9 !important;
    color: #1565c0 !important;
    font-weight: 500;
}
.btn-edit:hover, .btn-edit:focus {
    background-color: #bbdefb !important;
    border-color: #64b5f6 !important;
    color: #0d47a1 !important;
}
.btn-outline-secondary {
    /* пока пусто, используется дефолтный Bootstrap */
}
.btn-outline-secondary:hover, .btn-outline-secondary:focus {
    /* пока пусто, используется дефолтный Bootstrap */
}
.add-section-hint {
    color: #1a237e !important;
    background: #e3f2fd;
    border-radius: 4px;
    padding: 4px 8px;
    display: inline-block;
}

.custom-toast {
    background: #e3f2fd !important;
    color: #0d47a1 !important;
    border-radius: 12px !important;
    border: 2px solid #90caf9 !important;
    box-shadow: 0 5px 20px rgba(33, 150, 243, 0.08);
    font-size: 2em !important;
    font-family: inherit;
    min-width: 350px;
    max-width: 90vw;
    padding: 0 !important;
}
.custom-toast .toast-header {
    background: #bbdefb !important;
    color: #1565c0 !important;
    font-weight: 600;
    font-size: 0.7em;
    border-bottom: 1px solid #90caf9;
    border-radius: 12px 12px 0 0;
    padding: 0.7em 1.2em;
}
.custom-toast .toast-body {
    background: transparent;
    color: #0d47a1 !important;
    font-size: 0.6em;
    padding: 1.2em 1.2em 1em 1.2em;
    border-radius: 0 0 12px 12px;
}
.custom-toast .btn-close {
    filter: invert(0.5);
    opacity: 0.7;
}

.custom-modal {
    min-width: 350px;
    max-width: 90vw;
    background: #e3f2fd !important;
    color: #0d47a1 !important;
    border-radius: 12px !important;
    border: 2px solid #90caf9 !important;
    box-shadow: 0 5px 20px rgba(33, 150, 243, 0.08);
    font-family: inherit;
    padding: 0 !important;
}
.custom-modal-header {
    background: #bbdefb !important;
    color: #1565c0 !important;
    font-weight: 600;
    font-size: 1.2em;
    border-bottom: 1px solid #90caf9;
    border-radius: 12px 12px 0 0;
    padding: 1em 1.5em 0.7em 1.5em;
    margin-bottom: 0;
}
.custom-modal-body {
    background: transparent;
    color: #0d47a1 !important;
    font-size: 1em;
    padding: 1.2em 1.5em 1em 1.5em;
    border-radius: 0 0 12px 12px;
    margin-bottom: 0;
}
.custom-modal-footer {
    background: transparent;
    border-radius: 0 0 12px 12px;
    padding: 0 1.5em 1.2em 1.5em;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}
.custom-modal input.form-control {
    background: #fff;
    color: #0d47a1;
    border: 1px solid #90caf9;
    border-radius: 6px;
    font-size: 1em;
}

.info-container-wide {
    max-width: 1600px;
    margin: 0 auto;
    padding: 20px;
} 