/* ====== СТИЛЬ ДЛЯ ЗАЯВКИ ======*/
/* Основний контейнер */
.application-container {
    max-width: 800px;
    margin: 50px auto;
    padding: 30px;
    background: #d6dadb;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);

}

.service-selection {
    text-align: center;
    padding: 40px 20px;
    background: #eff7fd;
    border-radius: 15px;
    transition: all 0.5s ease;
}

.selection-icon {cursor: pointer;}

.icon-circle {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background: #1e293b;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    transition: all 0.3s ease;
}

.icon-circle:hover {
    transform: scale(1.05);
    background: #334155;
}

.service-selection h2 {
    color: #1e293b;
    margin-bottom: 10px;
}

.service-selection p {color: #334155;}

.service-options {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
    width: 100%;
}

.service-option {
    flex: 1;
    min-width: 200px;
    min-height: 100px;
    padding: 20px 30px;
    background: white;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 150px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
    box-sizing: border-box;
}

.service-option i {
    font-size: 40px;
    margin-bottom: 15px;
    color: #1e293b;
}

.service-option span {
    color: #334155;
    font-size: 1.1rem;
    line-height: 1.4;
    display: block;
}

.service-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.application-form {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-top: 20px;
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: block;
    opacity: 1;
    height: auto;
}

.form-header h2 {
    color: #1e293b;
    text-align: center;
    margin-bottom: 30px;
}

#selected-service {color: #3b82f6;}

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

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-col {flex: 1;}

label {
    display: block;
    margin-bottom: 8px;
    color: #1e293b;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
    background: white;
    color: #1e293b;
    box-sizing: border-box;
}

.form-control:focus {
    border-color: #3b82f6;
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

.form-footer {margin-top: 30px;}

.info-note {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
    padding: 15px;
    background: #f1f5f9;
    border-radius: 8px;
}

.btn {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn {
    background: #1e293b;
    color: white;
}

.back-btn {
    background: #eff7fd;
    color: #1e293b;
    border: 1px solid #cbd5e1;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.submit-btn:hover {background: #334155;}
.back-btn:hover {background: #e2e8f0;}

.form-actions {
    display: flex;
    justify-content: space-between;
}

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

.hidden {display: none;}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.icon-circle {animation: pulse 2s infinite;}

/* Поле для успішної заявки */
#success-message {
    text-align: center;
    padding: 20px 15px;
    margin: 20px 0 ;
}

.success-content {
    max-width: 500px;
    margin: 0 auto;
}

.success-content i {
    display: inline-block;
    font-size: 100px;
    color: #28a745;
    margin-bottom: 15px;
    animation: pulse 2s infinite;
}

.success-content h2 {
    color: #1e293b;
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.success-content p {
    color: #334155;
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 20px;
}

.success-content .btn-container {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.success-content .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 60px;
    padding: 14px 35px;
    font-size: 1.1rem;
    background: #1e293b;
    color: white;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.success-content .btn:hover {
    background: #334155;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.success-content .btn i {
    font-size: 1.2rem;
    margin: 0;
    color: white;
    animation: none;
}