3de138ff41
Navigation: - Nav bar pill shape (border-radius: 100px), dark glass style - Icons added to all nav items (FA4 outline variants, fixed-width alignment) - Footer hidden on all devices (nav panel covers mobile) - Footer nav icons + text added before removal Forms (ask.md, plan.md): - Full glassmorphism redesign: rounded card, blur backdrop - Input borders visible (#b8c4ce), focus ring, proper placeholder colors - Select: self-contained CSS, no backdrop-filter conflict, arrow fixed - Submit button: gradient with shadow - File upload button: .file-btn class, fa-arrow-down icon - form-note styled as info callout with left border + ⓘ icon - Footnotes sup.fn: circular badge, baseline positioning (no line-height jump) - Footnote ¹ on both consent checkboxes, accordion = full legal text - Dark mode: opaque dark card (rgba 22,26,34,0.88), proper contrast - Dark mode success/error messages adapted - Double checkmark bug fixed (removed ::after overlay) - Italic removed from privacy-details text Layout: - #main rounded corners (20px all sides) + margin for visibility - Post card images rounded (border-radius: 10px) - Page titles: uppercase removed, font-weight 900, left-aligned - "Подробнее" button hidden on post cards - iOS background-attachment: fixed bug fixed (scroll on mobile) - Pagination mobile: counter restored, buttons above footer Content: - Page titles uncommented in front matter (gallery, map, ask, plan) - Duplicate rawhtml title blocks removed Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
870 lines
20 KiB
CSS
Executable File
870 lines
20 KiB
CSS
Executable File
/* Стили для форм обратной связи — glassmorphism 2025 */
|
|
.travel-form-container, .contact-form-container {
|
|
max-width: 580px;
|
|
margin: 0 auto 2rem;
|
|
padding: 2.25rem 2.5rem;
|
|
background: rgba(255, 255, 255, 0.72);
|
|
backdrop-filter: blur(24px);
|
|
-webkit-backdrop-filter: blur(24px);
|
|
border-radius: 16px;
|
|
border: 1px solid rgba(255, 255, 255, 0.6);
|
|
box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07), 0 1px 4px rgba(0, 0, 0, 0.04);
|
|
}
|
|
|
|
.travel-form, .contact-form {
|
|
width: 100%;
|
|
}
|
|
|
|
/* Снимаем uppercase темы внутри форм */
|
|
.travel-form-container *,
|
|
.contact-form-container * {
|
|
text-transform: none;
|
|
letter-spacing: normal;
|
|
}
|
|
|
|
/* Разделитель секций — только капитализация первой буквы */
|
|
.travel-form-container .form-section-title,
|
|
.contact-form-container .form-section-title {
|
|
font-size: 0.72rem;
|
|
font-weight: 600;
|
|
color: #9aa3ad;
|
|
letter-spacing: 0.05em;
|
|
text-transform: uppercase; /* намеренно — tiny label */
|
|
}
|
|
|
|
.form-group {
|
|
margin-bottom: 1.8rem;
|
|
}
|
|
|
|
.form-group label {
|
|
display: block;
|
|
margin-bottom: 0.6rem;
|
|
font-weight: 600;
|
|
color: #1e2d3d;
|
|
font-size: 0.88rem;
|
|
line-height: 1.45;
|
|
letter-spacing: 0.01em;
|
|
}
|
|
|
|
.form-group input,
|
|
.form-group textarea {
|
|
width: 100%;
|
|
padding: 0.85rem 1rem;
|
|
border: 1.5px solid #b8c4ce;
|
|
border-radius: 10px;
|
|
font-size: 0.95rem;
|
|
background: rgba(255, 255, 255, 0.92);
|
|
backdrop-filter: blur(8px);
|
|
-webkit-backdrop-filter: blur(8px);
|
|
transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
|
|
box-sizing: border-box;
|
|
font-family: inherit;
|
|
color: #1a252f;
|
|
}
|
|
|
|
/* Select — полностью самодостаточное правило, без backdrop-filter */
|
|
.form-group select {
|
|
width: 100%;
|
|
padding: 0.95rem 2.5rem 1rem 1rem;
|
|
border: 1.5px solid #b8c4ce;
|
|
border-radius: 10px;
|
|
font-size: 0.95rem;
|
|
background-color: rgba(255, 255, 255, 0.92);
|
|
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
|
|
background-position: right 0.9rem center;
|
|
background-repeat: no-repeat;
|
|
background-size: 1.25rem 1.25rem;
|
|
color: #1a252f;
|
|
font-family: inherit;
|
|
appearance: none;
|
|
-webkit-appearance: none;
|
|
line-height: 1.7;
|
|
box-sizing: border-box;
|
|
transition: border-color 0.2s, box-shadow 0.2s;
|
|
cursor: pointer;
|
|
min-height: 3rem;
|
|
}
|
|
|
|
.form-group select option {
|
|
background: #ffffff;
|
|
color: #1a252f;
|
|
}
|
|
|
|
.form-group input:focus,
|
|
.form-group textarea:focus {
|
|
outline: none;
|
|
border-color: #4a8fc8;
|
|
background: #ffffff;
|
|
box-shadow: 0 0 0 3px rgba(74, 143, 200, 0.18);
|
|
}
|
|
|
|
.form-group select:focus {
|
|
outline: none;
|
|
border-color: #4a8fc8;
|
|
background-color: #ffffff;
|
|
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%234a8fc8' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
|
|
background-position: right 0.9rem center;
|
|
background-repeat: no-repeat;
|
|
background-size: 1.25rem 1.25rem;
|
|
box-shadow: 0 0 0 3px rgba(74, 143, 200, 0.18);
|
|
}
|
|
|
|
.form-group textarea {
|
|
resize: vertical;
|
|
min-height: 100px;
|
|
}
|
|
|
|
.submit-btn {
|
|
background: linear-gradient(135deg, #4a8fc8 0%, #3476b5 100%);
|
|
color: #ffffff;
|
|
padding: 0.9rem 2rem;
|
|
border: none;
|
|
border-radius: 10px;
|
|
cursor: pointer;
|
|
font-size: 0.95rem;
|
|
font-weight: 600;
|
|
transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 0.5rem;
|
|
text-transform: none;
|
|
font-family: inherit;
|
|
letter-spacing: 0.3px;
|
|
width: 100%;
|
|
margin-top: 0.5rem;
|
|
box-shadow: 0 2px 10px rgba(52, 118, 181, 0.3);
|
|
}
|
|
|
|
.submit-btn:hover {
|
|
opacity: 0.92;
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 5px 18px rgba(52, 118, 181, 0.4);
|
|
}
|
|
|
|
.submit-btn:active {
|
|
transform: translateY(0);
|
|
opacity: 1;
|
|
box-shadow: 0 2px 6px rgba(52, 118, 181, 0.25);
|
|
}
|
|
|
|
.submit-btn i {
|
|
font-size: 1.1em;
|
|
}
|
|
|
|
/* Сообщения об успехе/ошибке */
|
|
.form-message {
|
|
padding: 1rem;
|
|
border-radius: 6px;
|
|
margin-bottom: 1.5rem;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.form-success {
|
|
background: #d4edda;
|
|
color: #155724;
|
|
border: 1px solid #c3e6cb;
|
|
}
|
|
|
|
.form-error {
|
|
background: #f8d7da;
|
|
color: #721c24;
|
|
border: 1px solid #f5c6cb;
|
|
}
|
|
|
|
/* Мобильная адаптация */
|
|
@media (max-width: 768px) {
|
|
.travel-form-container, .contact-form-container {
|
|
margin: 0;
|
|
padding: 1.5rem;
|
|
border-radius: 12px;
|
|
}
|
|
|
|
.form-group {
|
|
margin-bottom: 1.1rem;
|
|
}
|
|
|
|
.form-group label {
|
|
margin-bottom: 0.4rem;
|
|
font-size: 0.88rem;
|
|
}
|
|
|
|
.form-group input,
|
|
.form-group select,
|
|
.form-group textarea {
|
|
padding: 0.65rem 0.8rem;
|
|
font-size: 16px; /* Предотвращает зум на iOS */
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.form-group select {
|
|
padding: 0.65rem 2.2rem 0.65rem 0.8rem;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.form-group textarea {
|
|
min-height: 80px;
|
|
}
|
|
|
|
.checkbox-group {
|
|
padding: 1rem;
|
|
margin: 1.2rem 0;
|
|
}
|
|
|
|
.submit-btn {
|
|
width: 100%;
|
|
justify-content: center;
|
|
padding: 0.9rem 1.5rem;
|
|
}
|
|
|
|
.form-subtitle {
|
|
margin-bottom: 1.2rem;
|
|
font-size: 0.88rem;
|
|
}
|
|
}
|
|
|
|
/* Стили для радиокнопок */
|
|
.form-group input[type="radio"] {
|
|
width: 18px;
|
|
height: 18px;
|
|
margin-right: 0.75rem;
|
|
margin-top: 0.2rem;
|
|
accent-color: #3498db;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.form-group label input[type="radio"] + span {
|
|
cursor: pointer;
|
|
user-select: none;
|
|
}
|
|
|
|
.form-group label:has(input[type="radio"]) {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
font-weight: 400;
|
|
margin-bottom: 0.75rem;
|
|
padding: 0.5rem;
|
|
border-radius: 8px;
|
|
transition: background-color 0.2s ease;
|
|
}
|
|
|
|
.form-group label:has(input[type="radio"]):hover {
|
|
background-color: rgba(52, 152, 219, 0.05);
|
|
}
|
|
|
|
.form-group label:has(input[type="radio"]:checked) {
|
|
background-color: rgba(52, 152, 219, 0.1);
|
|
color: #2980b9;
|
|
}
|
|
|
|
/* Стили для чекбоксов */
|
|
.form-group input[type="checkbox"] {
|
|
width: 18px;
|
|
height: 18px;
|
|
margin-right: 0.75rem;
|
|
margin-top: 0.2rem;
|
|
accent-color: #3498db;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.form-group label input[type="checkbox"] + span {
|
|
cursor: pointer;
|
|
user-select: none;
|
|
}
|
|
|
|
.form-group label:has(input[type="checkbox"]) {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
font-weight: 400;
|
|
margin-bottom: 0.75rem;
|
|
padding: 0.5rem;
|
|
border-radius: 8px;
|
|
transition: all 0.3s ease;
|
|
cursor: pointer;
|
|
position: relative;
|
|
}
|
|
|
|
.form-group label:has(input[type="checkbox"]):hover {
|
|
background-color: rgba(52, 152, 219, 0.05);
|
|
}
|
|
|
|
.form-group label:has(input[type="checkbox"]:checked) {
|
|
background-color: rgba(39, 174, 96, 0.07);
|
|
color: inherit;
|
|
}
|
|
|
|
/* Подсказка — инфо-блок между полями */
|
|
.form-note {
|
|
margin: -0.6rem 0 1.4rem;
|
|
padding: 0.55rem 0.85rem;
|
|
background: rgba(91, 155, 213, 0.07);
|
|
border-left: 2.5px solid rgba(91, 155, 213, 0.45);
|
|
border-radius: 0 6px 6px 0;
|
|
font-size: 0.8rem;
|
|
color: #6b7f94;
|
|
line-height: 1.45;
|
|
}
|
|
|
|
.form-note p {
|
|
margin: 0;
|
|
}
|
|
|
|
.form-note p::before {
|
|
content: "ⓘ ";
|
|
font-style: normal;
|
|
color: #5b9bd5;
|
|
font-size: 0.9em;
|
|
}
|
|
|
|
/* Заголовок формы */
|
|
.form-title {
|
|
font-size: 1.4rem;
|
|
font-weight: 700;
|
|
color: #1a252f;
|
|
margin-bottom: 0.4rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.form-subtitle {
|
|
font-size: 0.92rem;
|
|
color: #7f8c8d;
|
|
text-align: center;
|
|
margin-bottom: 2rem;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
/* Подводка под заголовком страницы */
|
|
.page-lead {
|
|
font-size: 1rem;
|
|
color: #555c63;
|
|
font-family: 'Source Sans Pro', Helvetica, sans-serif;
|
|
line-height: 1.65;
|
|
margin-bottom: 2rem;
|
|
text-align: left;
|
|
}
|
|
|
|
.page-lead a {
|
|
color: #5b9bd5;
|
|
text-decoration: none;
|
|
border-bottom: none;
|
|
}
|
|
|
|
.page-lead a:hover {
|
|
color: #4585c2;
|
|
}
|
|
|
|
/* Разделитель секций */
|
|
.form-section-title {
|
|
font-size: 0.78rem;
|
|
font-weight: 600;
|
|
color: #95a5a6;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.08em;
|
|
margin: 2rem 0 1rem;
|
|
padding-bottom: 0.5rem;
|
|
border-bottom: 1px solid #f0f0f0;
|
|
}
|
|
|
|
/* Плейсхолдеры */
|
|
.form-group input::placeholder,
|
|
.form-group textarea::placeholder {
|
|
color: #8896a0;
|
|
opacity: 1;
|
|
}
|
|
|
|
/* Select в состоянии placeholder (required:invalid или has disabled:checked) */
|
|
.form-group select:required:invalid,
|
|
.form-group select:has(option[value=""]:checked) {
|
|
color: #8896a0;
|
|
}
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
.form-group select:required:invalid,
|
|
.form-group select:has(option[value=""]:checked) {
|
|
color: rgba(255, 255, 255, 0.32);
|
|
}
|
|
}
|
|
|
|
/* Стили для согласия на обработку персональных данных */
|
|
.checkbox-group {
|
|
background: rgba(74, 143, 200, 0.07);
|
|
border: 1.5px solid rgba(74, 143, 200, 0.3);
|
|
border-radius: 12px;
|
|
padding: 1.25rem 1.5rem;
|
|
margin: 1.5rem 0;
|
|
}
|
|
|
|
.checkbox-container {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
cursor: pointer;
|
|
user-select: none;
|
|
}
|
|
|
|
.checkbox-container input[type="checkbox"] {
|
|
width: 20px;
|
|
height: 20px;
|
|
margin-right: 1rem;
|
|
margin-top: 0.2rem;
|
|
accent-color: #3498db;
|
|
cursor: pointer;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.privacy-text {
|
|
font-size: 0.95rem;
|
|
line-height: 1.5;
|
|
color: #2c3e50;
|
|
font-weight: 400;
|
|
}
|
|
|
|
.privacy-details {
|
|
margin-top: 0.5rem;
|
|
padding: 0;
|
|
background: none;
|
|
border: none;
|
|
border-radius: 0;
|
|
font-size: 0.8rem;
|
|
line-height: 1.4;
|
|
color: #888;
|
|
font-style: normal;
|
|
}
|
|
|
|
.privacy-details p {
|
|
margin: 0 0 0.75rem 0;
|
|
}
|
|
|
|
.privacy-details p:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.privacy-details strong {
|
|
color: #2c3e50;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.privacy-details a {
|
|
color: #3498db;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.privacy-details a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
/* Стили для кастомного file input */
|
|
.file-input-wrapper {
|
|
width: 100%;
|
|
padding: 1rem;
|
|
border: 1px solid #e1e5e9;
|
|
border-radius: 12px;
|
|
font-size: 0.95rem;
|
|
background: #fafbfc;
|
|
transition: all 0.3s ease;
|
|
box-sizing: border-box;
|
|
font-family: inherit;
|
|
color: #7f8c8d;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.file-input-wrapper:hover {
|
|
border-color: #3498db;
|
|
background: white;
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.file-input-wrapper:focus-within {
|
|
outline: none;
|
|
border-color: #3498db;
|
|
background: white;
|
|
box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
|
|
}
|
|
|
|
.file-input-hidden {
|
|
display: none;
|
|
}
|
|
|
|
.file-input-button {
|
|
display: none;
|
|
}
|
|
|
|
.file-input-text {
|
|
color: #7f8c8d;
|
|
font-style: italic;
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.file-input-text.file-selected {
|
|
color: #2c3e50;
|
|
font-weight: 400;
|
|
font-style: normal;
|
|
}
|
|
|
|
.file-input-text.file-encrypted {
|
|
color: #27ae60;
|
|
font-weight: 500;
|
|
font-style: normal;
|
|
}
|
|
|
|
.file-input-wrapper::after {
|
|
content: "📎";
|
|
font-size: 1.1rem;
|
|
color: #95a5a6;
|
|
margin-left: 0.5rem;
|
|
}
|
|
|
|
.file-input-wrapper.file-encrypted::after {
|
|
content: "🔒";
|
|
color: #27ae60;
|
|
}
|
|
|
|
/* Индикатор процесса шифрования */
|
|
.encryption-status {
|
|
margin-top: 0.5rem;
|
|
padding: 0.5rem;
|
|
border-radius: 8px;
|
|
font-size: 0.9rem;
|
|
text-align: center;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.encryption-status.encrypting {
|
|
background: #fff3cd;
|
|
color: #856404;
|
|
border: 1px solid #ffeaa7;
|
|
}
|
|
|
|
.encryption-status.encrypted {
|
|
background: #d4edda;
|
|
color: #155724;
|
|
border: 1px solid #c3e6cb;
|
|
}
|
|
|
|
.encryption-status.error {
|
|
background: #f8d7da;
|
|
color: #721c24;
|
|
border: 1px solid #f5c6cb;
|
|
}
|
|
|
|
/* Анимация шифрования */
|
|
.encrypting-spinner {
|
|
display: inline-block;
|
|
width: 16px;
|
|
height: 16px;
|
|
border: 2px solid #f3f3f3;
|
|
border-top: 2px solid #856404;
|
|
border-radius: 50%;
|
|
animation: spin 1s linear infinite;
|
|
margin-right: 0.5rem;
|
|
}
|
|
|
|
@keyframes spin {
|
|
0% { transform: rotate(0deg); }
|
|
100% { transform: rotate(360deg); }
|
|
}
|
|
|
|
.file-info {
|
|
margin-top: 0.5rem;
|
|
text-align: left;
|
|
}
|
|
|
|
.file-info small {
|
|
color: #7f8c8d;
|
|
font-size: 0.8rem;
|
|
font-style: italic;
|
|
}
|
|
|
|
/* Нумерованные сноски — маленькие круглые бейджи */
|
|
sup.fn {
|
|
display: inline-block;
|
|
min-width: 1.4em;
|
|
height: 1.4em;
|
|
line-height: 1.4em;
|
|
text-align: center;
|
|
background: rgba(91, 155, 213, 0.18);
|
|
color: #5b9bd5 !important;
|
|
border-radius: 50%;
|
|
font-size: 0.58em;
|
|
font-weight: 700;
|
|
vertical-align: baseline;
|
|
position: relative;
|
|
top: -0.5em;
|
|
margin-left: 0.25em;
|
|
text-decoration: none !important;
|
|
font-style: normal;
|
|
}
|
|
|
|
/* Сворачиваемый юридический текст — без рамки */
|
|
.legal-details {
|
|
margin-top: 1.5rem;
|
|
}
|
|
|
|
.legal-details summary {
|
|
padding: 0.4rem 0;
|
|
font-size: 0.8rem;
|
|
color: #5b9bd5;
|
|
cursor: pointer;
|
|
list-style: none;
|
|
user-select: none;
|
|
display: inline-flex;
|
|
align-items: baseline;
|
|
gap: 0.35rem;
|
|
text-decoration: underline;
|
|
text-decoration-color: rgba(91, 155, 213, 0.4);
|
|
text-underline-offset: 3px;
|
|
transition: color 0.2s, text-decoration-color 0.2s;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.legal-details summary sup.fn {
|
|
flex-shrink: 0;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.legal-details summary::-webkit-details-marker {
|
|
display: none;
|
|
}
|
|
|
|
.legal-details summary::after {
|
|
content: "↓";
|
|
font-size: 0.85em;
|
|
transition: transform 0.2s ease;
|
|
display: inline-block;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.legal-details[open] summary::after {
|
|
transform: rotate(180deg);
|
|
}
|
|
|
|
.legal-details summary:hover {
|
|
color: #4585c2;
|
|
text-decoration-color: rgba(69, 133, 194, 0.6);
|
|
}
|
|
|
|
.legal-text {
|
|
padding: 0.75rem 0 0;
|
|
font-size: 0.79rem;
|
|
color: #8a9199;
|
|
line-height: 1.65;
|
|
}
|
|
|
|
.legal-text p {
|
|
margin: 0 0 0.7rem;
|
|
}
|
|
|
|
.legal-text p:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.legal-text a {
|
|
color: #3498db;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.legal-text a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.legal-note {
|
|
font-size: 0.78rem;
|
|
color: #aaa;
|
|
margin-top: 0.75rem;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
/* Кнопка загрузки файла — единый стиль с формой */
|
|
.file-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.4rem;
|
|
padding: 0.7rem 1.4rem;
|
|
background: rgba(91, 155, 213, 0.1);
|
|
color: #5b9bd5;
|
|
border: 1.5px solid rgba(91, 155, 213, 0.35);
|
|
border-radius: 8px;
|
|
font-size: 0.88rem;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: background 0.2s, border-color 0.2s;
|
|
font-family: inherit;
|
|
}
|
|
|
|
.file-btn:hover {
|
|
background: rgba(91, 155, 213, 0.18);
|
|
border-color: #5b9bd5;
|
|
}
|
|
|
|
.file-name-display {
|
|
margin-left: 0.75rem;
|
|
font-size: 0.82rem;
|
|
color: #7f8c8d;
|
|
}
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
.file-btn {
|
|
color: #7ab3e0;
|
|
border-color: rgba(91, 155, 213, 0.3);
|
|
background: rgba(91, 155, 213, 0.08);
|
|
}
|
|
.file-name-display {
|
|
color: #888;
|
|
}
|
|
}
|
|
|
|
/* Тёмная тема — тёмная карточка с достаточным контрастом */
|
|
@media (prefers-color-scheme: dark) {
|
|
.travel-form-container, .contact-form-container {
|
|
background: rgba(22, 26, 34, 0.88);
|
|
backdrop-filter: blur(28px);
|
|
-webkit-backdrop-filter: blur(28px);
|
|
border-color: rgba(255, 255, 255, 0.1);
|
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), 0 1px 6px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.form-group label {
|
|
color: #dde3ea;
|
|
}
|
|
|
|
.form-group input,
|
|
.form-group select,
|
|
.form-group textarea {
|
|
background: rgba(255, 255, 255, 0.07);
|
|
border-color: rgba(255, 255, 255, 0.16);
|
|
color: #e8edf4;
|
|
}
|
|
|
|
.form-group select {
|
|
background-color: rgba(255, 255, 255, 0.07);
|
|
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23aab2bb' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
|
|
background-position: right 0.9rem center;
|
|
background-repeat: no-repeat;
|
|
background-size: 1.25rem 1.25rem;
|
|
border-color: rgba(255, 255, 255, 0.16);
|
|
color: #e8edf4;
|
|
}
|
|
|
|
.form-group select option {
|
|
background: #1e2533;
|
|
color: #e8edf4;
|
|
}
|
|
|
|
.form-group select:focus {
|
|
background-color: rgba(255, 255, 255, 0.11);
|
|
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236aaee0' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
|
|
background-position: right 0.9rem center;
|
|
background-repeat: no-repeat;
|
|
background-size: 1.25rem 1.25rem;
|
|
}
|
|
|
|
.form-group input::placeholder,
|
|
.form-group textarea::placeholder {
|
|
color: rgba(255, 255, 255, 0.32);
|
|
}
|
|
|
|
.form-group input:focus,
|
|
.form-group select:focus,
|
|
.form-group textarea:focus {
|
|
border-color: #6aaee0;
|
|
background: rgba(255, 255, 255, 0.11);
|
|
box-shadow: 0 0 0 3px rgba(106, 174, 224, 0.2);
|
|
}
|
|
|
|
.submit-btn {
|
|
background: linear-gradient(135deg, #3d82be 0%, #2d6aa8 100%);
|
|
box-shadow: 0 2px 10px rgba(45, 106, 168, 0.4);
|
|
}
|
|
|
|
.submit-btn:hover {
|
|
opacity: 0.9;
|
|
box-shadow: 0 5px 18px rgba(45, 106, 168, 0.5);
|
|
}
|
|
|
|
.form-note {
|
|
background: rgba(91, 155, 213, 0.1);
|
|
border-left-color: rgba(91, 155, 213, 0.5);
|
|
color: #8ca8c4;
|
|
}
|
|
|
|
.form-note p::before {
|
|
color: #7ab3e0;
|
|
}
|
|
|
|
.form-subtitle {
|
|
color: #99a6b0;
|
|
}
|
|
|
|
.checkbox-group {
|
|
background: rgba(91, 155, 213, 0.1);
|
|
border-color: rgba(91, 155, 213, 0.3);
|
|
}
|
|
|
|
.privacy-text {
|
|
color: #c8d4de;
|
|
}
|
|
|
|
.privacy-details {
|
|
color: #8a9baa;
|
|
}
|
|
|
|
.privacy-details a {
|
|
color: #7ab3e0;
|
|
}
|
|
|
|
.legal-details summary {
|
|
color: #7ab3e0;
|
|
text-decoration-color: rgba(122, 179, 224, 0.4);
|
|
}
|
|
|
|
.legal-text {
|
|
color: #8fa4b8;
|
|
}
|
|
|
|
.legal-text a {
|
|
color: #7ab3e0;
|
|
}
|
|
|
|
.legal-note {
|
|
color: #6a7884;
|
|
}
|
|
|
|
/* Success/error в тёмной теме */
|
|
.form-success {
|
|
background: rgba(39, 174, 96, 0.15);
|
|
color: #6ecf9a;
|
|
border-color: rgba(39, 174, 96, 0.3);
|
|
}
|
|
|
|
.form-error {
|
|
background: rgba(231, 76, 60, 0.15);
|
|
color: #f08080;
|
|
border-color: rgba(231, 76, 60, 0.3);
|
|
}
|
|
|
|
.form-group label:has(input[type="checkbox"]:checked) {
|
|
background-color: rgba(39, 174, 96, 0.1);
|
|
}
|
|
|
|
sup.fn {
|
|
background: rgba(122, 179, 224, 0.2);
|
|
color: #7ab3e0 !important;
|
|
}
|
|
|
|
.file-btn {
|
|
background: rgba(91, 155, 213, 0.15);
|
|
color: #7ab3e0;
|
|
border-color: rgba(91, 155, 213, 0.35);
|
|
}
|
|
|
|
.file-btn:hover {
|
|
background: rgba(91, 155, 213, 0.25);
|
|
border-color: #7ab3e0;
|
|
}
|
|
|
|
.file-name-display {
|
|
color: #7a8896;
|
|
}
|
|
} |