:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
}

body {
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-bottom: 50px;
}

.application-form {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    padding: 25px;
	margin: 20px auto;
}

.form-header {
    text-align: center;
    margin-bottom: 25px;
    color: var(--secondary-color);
    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
}

.section-title {
    color: #8b5c23;
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 1px solid #eee;
    font-size: 1.2rem;
}

.form-note {
    color: #6c757d;
    margin-top: 3px;
    font-size: 1.3rem;
}

.signature-area {
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.table-input {
    width: 100%;
    border: none;
    background: transparent;
    padding: 5px;
    font-size: 0.9rem;
}

.table-input:focus {
    outline: none;
    background: #f8f9fa;
}

.add-row-btn {
    margin-bottom: 15px;
    font-size: 1.3rem;
	background-color: #9d866b;
    border-color: #9d866b;
}

.btn-submit {
    padding: 8px 25px;
    font-size: 1rem;
}

.btn-pdf {
    background-color: #d9534f;
    color: white;
    padding: 8px 25px;
    font-size: 1rem;
}

.btn-pdf:hover {
    background-color: #c9302c;
    color: white;
}

/* Оптимизация для планшетов */
@media (max-width: 991px) {
    .application-form {
        padding: 15px;
    }

    .form-header h1 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.1rem;
    }

    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .table th, .table td {
        padding: 6px;
        font-size: 1.6rem;
    }

    .form-control, .form-select {
        padding: 6px 10px;
        font-size: 0.9rem;
    }

    .action-buttons .btn {
        width: 100%;
        margin-bottom: 10px;
    }
}

/* Анимации */
.fade-in {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1100;
}

/* Стили для PDF */
@media print {
    body * {
        visibility: hidden;
    }
    .application-form, .application-form * {
        visibility: visible;
    }
    .application-form {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        box-shadow: none;
        padding: 0;
        margin: 0;
    }
    .no-print, .no-print * {
        display: none !important;
    }
}
.date-lable {
    margin-top: 5px;
    margin-left: 10px;
	font-size: 1.5rem;
}

.mb-2 {
    font-size: 1.6rem;
}

h1 {
	font-size: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
}

.form-control {
	font-size: 2rem;
}

label {
    font-weight: normal;
}

.form-label {
    font-size: 2rem;
}

.table-input {
	font-size: 1.7rem;
}

.form-check-label {
	font-size: 1.5rem;
}

.form-check-input {
	font-size: 1.5rem;
}

.remove-row {
	font-size: 2.3rem;
    width: 50px;
}

.btn-submit {
	font-size: 1.3rem;
	background-color: #9d866b;
	border-color: #9d866b;
}