* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
}

.form-wrapper {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

h1 {
    color: #333;
    margin-bottom: 10px;
    text-align: center;
}

h2 {
    color: #3763ab;
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 30px;
}

h3 {
    color: #555;
    margin-bottom: 20px;
}
.consent-block{
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.radio-group label {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.radio-group label:hover {
    border-color: #667eea;
    background: #f8f9ff;
}

.radio-group input[type="radio"] {
    margin-right: 10px;
    transform: scale(1.2);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.tests-info {
    background: #f8f9ff;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.tests-info ul {
    margin-top: 10px;
    margin-left: 20px;
}

.btn-next,
.btn-submit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.2s;
    width: 100%;
}

.btn-next:hover,
.btn-submit:hover {
    transform: translateY(-2px);
}

/* Адаптивность */
@media (max-width: 768px) {
    .form-wrapper {
        padding: 20px;
    }
    
    h1 {
        font-size: 1.5em;
    }
}

/* Админ-панель */
.admin-container {
    background: white;
    border-radius: 20px;
    padding: 20px;
    overflow-x: auto;
}

.applications-table {
    width: 100%;
    border-collapse: collapse;
}

.applications-table th,
.applications-table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

.applications-table th {
    background: #667eea;
    color: white;
}

.status-select {
    padding: 5px;
    border-radius: 5px;
    border: 1px solid #ddd;
}
#consent-id{
    width: 20px;
    height: 20px;
    margin-right: 10px;
    margin-top: -5px;
}
/* ############################## */
.multi-select-group {
    margin-bottom: 20px;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    margin-top: 10px;
    padding: 15px;
    background: #f8f9ff;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    cursor: pointer;
    padding: 8px;
    border-radius: 5px;
    transition: background 0.2s;
}



.form-group input[type="checkbox"]{
    width: 15px;
    height: 15px;
}


.checkbox-label:hover {
    background: #e8eaff;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 10px;
    transform: scale(1.1);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"]:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.checkbox-label span {
    font-size: 14px;
}

.multi-select-info {
    margin-top: 10px;
    font-size: 12px;
    color: #666;
}

.multi-select-info .selected-count {
    font-weight: bold;
    font-size: 14px;
}

/* Для мобильных устройств */
@media (max-width: 768px) {
    .checkbox-group {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .checkbox-label {
        padding: 12px;
    }
}
/* ############################# */

.status-new { background: #ffebee; color: #c62828; }
.status-contacted { background: #fff3e0; color: #ef6c00; }
.status-scheduled { background: #e3f2fd; color: #1565c0; }
.status-completed { background: #e8f5e9; color: #2e7d32; }


.wrapper-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.header-img-title{
    width: 20%;
}
.header-img-title img{
    object-fit: cover;
    object-position: center;
    width: 80%;

}
.header-head{
    width: 80%;
}