/* Frontend styly pro členství fakturace */

.clenstvi-member-contributions,
.clenstvi-dependent-members {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Header */
.clenstvi-header {
    margin-bottom: 20px;
}

.clenstvi-header h3 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 22px;
    font-weight: 600;
}

.member-info {
    color: #646970;
    font-size: 16px;
}

.member-name {
    font-weight: 500;
    margin-right: 10px;
}

.member-id {
    color: #8c8f94;
    font-size: 14px;
}

.member-category {
    margin-top: 12px;
    padding: 12px 15px;
    background: #f6f7f7;
    border-radius: 6px;
    font-size: 14px;
    color: #646970;
}

.member-category strong {
    color: #1d2327;
}

.category-price {
    margin-left: 8px;
    color: #2271b1;
    font-weight: 600;
}

/* Summary Cards */
.clenstvi-summary {
    margin-bottom: 30px;
}

.summary-cards {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto 20px;
}

.summary-card {
    background: #fff;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: box-shadow 0.2s ease;
}

.summary-card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.summary-card h4 {
    margin: 0 0 8px 0;
    font-size: 28px;
    font-weight: 700;
    color: #1d2327;
}

.summary-card .amount {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #2271b1;
}

.summary-card .label {
    font-size: 14px;
    color: #646970;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.summary-card.current-year {
    border-left: 4px solid #2271b1;
}

.summary-card.total-paid {
    border-left: 4px solid #00a32a;
}

.summary-card.total-unpaid {
    border-left: 4px solid #d63638;
}

/* Contributions List */
.clenstvi-contributions-list {
    margin-top: 30px;
}

.clenstvi-contributions-list h4 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

/* Contributions Table */
.contributions-table {
    width: 100%;
    background: #fff;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    border-collapse: collapse;
    overflow: hidden;
}

.contributions-table thead {
    background: #f6f7f7;
}

.contributions-table th {
    padding: 15px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    color: #1d2327;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contributions-table tbody tr {
    border-bottom: 1px solid #f0f0f1;
    transition: background-color 0.2s ease;
}

.contributions-table tbody tr:hover {
    background-color: #f9f9f9;
}

.contributions-table tbody tr:last-child {
    border-bottom: none;
}

.contributions-table tbody tr.paid {
    border-left: 4px solid #00a32a;
}

.contributions-table tbody tr.unpaid {
    border-left: 4px solid #d63638;
}

.contributions-table td {
    padding: 15px 20px;
    font-size: 14px;
    color: #1d2327;
}

.contributions-table td strong {
    color: #2271b1;
    font-size: 16px;
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.paid {
    background: #d4edda;
    color: #155724;
}

.status-badge.unpaid {
    background: #f8d7da;
    color: #721c24;
}

.status-paid {
    color: #00a32a;
    font-weight: 600;
}

.status-unpaid {
    color: #d63638;
    font-weight: 600;
}

.payer-self {
    color: #646970;
    font-weight: 500;
}

.payer-employer {
    color: #2271b1;
    font-weight: 500;
}

.payer-employer small {
    display: block;
    color: #646970;
    font-weight: 400;
    margin-top: 4px;
}

/* Dependent Members List */
.clenstvi-dependent-list {
    margin-top: 30px;
}

.clenstvi-dependent-list h4 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

/* Dependent Members Table */
.dependents-table {
    width: 100%;
    background: #fff;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    border-collapse: collapse;
    overflow: hidden;
}

.dependents-table thead {
    background: #f6f7f7;
}

.dependents-table th {
    padding: 15px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    color: #1d2327;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dependents-table tbody tr {
    border-bottom: 1px solid #f0f0f1;
    transition: background-color 0.2s ease;
}

.dependents-table tbody tr:hover {
    background-color: #f9f9f9;
}

.dependents-table tbody tr:last-child {
    border-bottom: none;
}

.dependents-table td {
    padding: 15px 20px;
    font-size: 14px;
    color: #1d2327;
}

.dependents-table td strong {
    color: #2271b1;
}

.price-amount {
    color: #2271b1;
    font-size: 16px;
}

.text-muted {
    color: #8c8f94;
    font-style: italic;
}

.summary-card.dependents-summary {
    border-left: 4px solid #7e57c2;
}

.summary-card.dependents-summary .amount {
    color: #7e57c2;
}

/* No data states */
.no-contributions,
.no-dependents {
    text-align: center;
    padding: 40px 20px;
    background: #f6f7f7;
    border-radius: 8px;
    color: #646970;
}

.no-contributions p,
.no-dependents p {
    margin: 0 0 10px 0;
    font-size: 16px;
}

/* Error and info messages */
.clenstvi-error {
    background: #f8d7da;
    color: #721c24;
    padding: 15px 20px;
    border-radius: 6px;
    border: 1px solid #f5c6cb;
    margin: 20px 0;
}

.clenstvi-info {
    background: #d1ecf1;
    color: #0c5460;
    padding: 15px 20px;
    border-radius: 6px;
    border: 1px solid #bee5eb;
    margin: 20px 0;
}

/* Notes */
.clenstvi-notes {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f1;
}

.clenstvi-notes p {
    margin: 0;
    color: #646970;
    font-size: 14px;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
    .clenstvi-member-contributions,
    .clenstvi-dependent-members {
        padding: 15px;
    }
    
    .summary-cards {
        max-width: 100%;
    }
    
    /* Responsive table - zobrazení jako karty */
    .contributions-table {
        border: none;
    }
    
    .contributions-table thead {
        display: none;
    }
    
    .contributions-table tbody tr {
        display: block;
        margin-bottom: 15px;
        border: 1px solid #e1e5e9;
        border-radius: 6px;
        border-left-width: 4px !important;
    }
    
    .contributions-table td {
        display: block;
        padding: 10px 15px;
        border-bottom: 1px solid #f0f0f1;
        text-align: right;
    }
    
    .contributions-table td:last-child {
        border-bottom: none;
    }
    
    .contributions-table td:before {
        content: attr(data-label);
        float: left;
        font-weight: 600;
        text-transform: uppercase;
        font-size: 12px;
        color: #646970;
    }
    
    /* Responsive table for dependents */
    .dependents-table {
        border: none;
    }
    
    .dependents-table thead {
        display: none;
    }
    
    .dependents-table tbody tr {
        display: block;
        margin-bottom: 15px;
        border: 1px solid #e1e5e9;
        border-radius: 6px;
    }
    
    .dependents-table td {
        display: block;
        padding: 10px 15px;
        border-bottom: 1px solid #f0f0f1;
        text-align: right;
    }
    
    .dependents-table td:last-child {
        border-bottom: none;
    }
    
    .dependents-table td:before {
        content: attr(data-label);
        float: left;
        font-weight: 600;
        text-transform: uppercase;
        font-size: 12px;
        color: #646970;
    }
}

/* ==============================================
   Profile Editor Styles
============================================== */

.clenstvi-profile-editor {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Profile Form */
.profile-form {
    background: #fff;
    border-radius: 8px;
    padding: 0;
}

/* Form Section */
.form-section {
    background: #fff;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.section-title {
    margin: 0 0 5px 0;
    color: #2271b1;
    font-size: 18px;
    font-weight: 600;
    padding-bottom: 10px;
    border-bottom: 2px solid #e1e5e9;
}

.section-description {
    margin: 10px 0 20px 0;
    color: #646970;
    font-size: 13px;
    font-style: italic;
    line-height: 1.4;
}

/* Form Row */
.form-row {
    margin-bottom: 20px;
}

.form-row:last-child {
    margin-bottom: 0;
}

.form-row.two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Form Group */
.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    width: 100%;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #1d2327;
    font-size: 14px;
    font-weight: 600;
}

.form-group label .required {
    color: #d63638;
    margin-left: 3px;
}

/* Input Fields */
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #dcdcde;
    border-radius: 4px;
    font-size: 14px;
    color: #1d2327;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group input[type="date"]:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
}

.form-group input[readonly] {
    background-color: #f6f7f7;
    color: #646970;
    cursor: not-allowed;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

/* Field Note */
.field-note {
    margin: 6px 0 0 0;
    font-size: 12px;
    color: #646970;
    font-style: italic;
}

/* Telephone Input with Prefix */
.tel-input-wrapper {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.tel-prefix {
    flex: 0 0 auto;
    width: 90px;
}

.tel-prefix-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #dcdcde;
    border-radius: 4px;
    font-size: 14px;
    color: #1d2327;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
    text-align: center;
}

.tel-prefix-input:focus {
    outline: none;
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
}

.tel-number {
    flex: 1;
}

.tel-input-wrapper .form-group {
    margin: 0;
}

.tel-input-wrapper label {
    display: block;
    margin-bottom: 8px;
}

.format-hint {
    display: inline-block;
    margin-left: 8px;
    font-size: 12px;
    color: #646970;
    font-weight: normal;
}

/* ARES Button */
.ares-wrapper {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.ares-wrapper .form-group {
    flex: 1;
    margin: 0;
}

.btn-load-ares {
    flex: 0 0 auto;
    padding: 10px 16px;
    background: #f0f0f1;
    color: #2271b1;
    border: 1px solid #2271b1;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    margin-top: 29px; /* Zarovnat s inputem (label výška ~21px + margin 8px) */
}

.btn-load-ares:hover {
    background: #2271b1;
    color: #fff;
}

.btn-load-ares:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-load-ares .spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(34,113,177,0.3);
    border-top-color: #2271b1;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

#ares-message {
    margin-top: 10px;
    padding: 10px 15px;
    border-radius: 4px;
    font-size: 14px;
    display: none;
}

#ares-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

#ares-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Field Error State */
.field-error {
    border-color: #d63638 !important;
    box-shadow: 0 0 0 1px #d63638 !important;
}

/* ============================================
   ZMĚNA EMAILU A HESLA
   ============================================ */

.clenstvi-email-change,
.clenstvi-password-change {
    max-width: 600px;
    margin: 0 auto;
}

/* Disabled pole */
.disabled-field {
    background: #f6f7f7 !important;
    cursor: not-allowed;
    color: #646970;
}

/* Password input wrapper */
.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-wrapper input {
    flex: 1;
    padding-right: 45px;
}

.toggle-password {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px 10px;
    font-size: 18px;
    line-height: 1;
    transition: opacity 0.2s ease;
}

.toggle-password:hover {
    opacity: 0.7;
}

.toggle-password .eye-icon {
    display: inline-block;
}

/* Password strength meter */
.password-strength {
    margin-top: 10px;
}

.strength-meter {
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 5px;
}

.strength-meter-fill {
    height: 100%;
    width: 0;
    transition: width 0.3s ease, background-color 0.3s ease;
    border-radius: 2px;
}

.strength-text {
    font-size: 12px;
    color: #646970;
    font-weight: 500;
}

/* Security note */
.security-note {
    background: #f0f6fc;
    border-left: 4px solid #2271b1;
    padding: 15px 20px;
    margin-top: 20px;
}

.security-note p {
    margin: 0 0 10px 0;
    color: #2c3338;
}

.security-note strong {
    color: #1d2327;
}

.security-note ul {
    margin: 0;
    padding-left: 20px;
}

.security-note li {
    margin: 5px 0;
    color: #50575e;
    font-size: 14px;
}

/* Form message states */
.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    padding: 12px 15px;
    border-radius: 4px;
    margin-top: 15px;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    padding: 12px 15px;
    border-radius: 4px;
    margin-top: 15px;
}

/* ============================================
   UNIFIED ACCOUNT DASHBOARD
   ============================================ */

/* Dashboard Container */
.clenstvi-account-dashboard {
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
}

/* Desktop Navigation (Tabs) */
.dashboard-nav-desktop {
    background: #f6f7f7;
    border-bottom: 2px solid #dcdcde;
    border-radius: 8px 8px 0 0;
    display: block;
}

.dashboard-tabs {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
}

.tab-item {
    flex: 1;
    min-width: 160px;
}

.tab-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 20px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
    color: #50575e;
    font-size: 15px;
}

.tab-link:hover {
    background: #fff;
    color: #2271b1;
}

.tab-link.active {
    background: #fff;
    border-bottom-color: #2271b1;
    color: #2271b1;
    font-weight: 600;
}

.tab-text {
    font-size: 15px;
    font-weight: 500;
}

.tab-link.active .tab-text {
    font-weight: 600;
}

/* Mobile Navigation (Select) */
.dashboard-nav-mobile {
    display: none;
    padding: 20px;
    background: #f6f7f7;
    border-bottom: 2px solid #dcdcde;
}

.section-select {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border: 1px solid #dcdcde;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23333" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    padding-right: 40px;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    width: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
}

/* Dashboard Content */
.dashboard-content {
    padding: 30px;
    min-height: 400px;
    position: relative;
}

.section-panel {
    display: none;
    animation: fadeIn 0.3s ease-in;
}

.section-panel.active {
    display: block;
}

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

/* Section Header (mobile) */
.section-header {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e5e5e5;
}

.section-header .section-title {
    margin: 0 0 8px 0;
    font-size: 22px;
    color: #1d2327;
}

.section-header .section-description {
    margin: 0;
    color: #646970;
    font-size: 14px;
}

.mobile-only {
    display: none;
}

/* Section Content */
.section-content {
    /* Reset některých stylů pro vnořené formuláře */
}

/* Loading Overlay */
.dashboard-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    z-index: 100;
}

.loading-spinner {
    text-align: center;
}

.loading-spinner .spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #2271b1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    display: block;
    margin-top: 15px;
    color: #2271b1;
    font-weight: 600;
}

/* ============================================
   RESPONSIVE - TABLET (max-width: 782px)
   ============================================ */

@media screen and (max-width: 782px) {
    .dashboard-content {
        padding: 20px;
    }
    
    /* Menší tabs */
    .dashboard-tabs {
        gap: 4px;
    }
    
    .tab-link {
        padding: 14px 12px;
    }
    
    .tab-text {
        font-size: 14px;
    }
    
    .tab-item {
        min-width: 120px;
    }
}

/* ============================================
   RESPONSIVE - MOBILE (max-width: 600px)
   ============================================ */

@media screen and (max-width: 600px) {
    /* Skrýt desktop tabs, zobrazit mobile select */
    .dashboard-nav-desktop {
        display: none;
    }
    
    .dashboard-nav-mobile {
        display: block;
    }
    
    /* Zobrazit section header na mobilu */
    .mobile-only {
        display: block;
    }
    
    .dashboard-content {
        padding: 15px;
    }
    
    /* Formuláře na plnou šířku */
    .clenstvi-account-dashboard .form-row {
        flex-direction: column;
    }
    
    .clenstvi-account-dashboard .form-group {
        width: 100%;
        margin-bottom: 15px;
    }
    
    /* Menší fonty */
    .section-header .section-title {
        font-size: 20px;
    }
    
    .section-header .section-icon {
        font-size: 24px;
    }
}

/* ============================================
   RESPONSIVE - EXTRA SMALL (max-width: 480px)
   ============================================ */

@media screen and (max-width: 480px) {
    /* Ještě menší padding pro velmi malé displeje */
    .clenstvi-account-dashboard {
        border-radius: 0;
        box-shadow: none;
    }
    
    .dashboard-nav-desktop {
        border-radius: 0;
    }
    
    .dashboard-content {
        padding: 10px;
    }
    
    .section-select {
        padding: 10px 12px;
        font-size: 15px;
    }
}

/* Field Valid State */
.field-valid {
    border-color: #00a32a !important;
    box-shadow: 0 0 0 1px #00a32a !important;
}

/* Field Filled Animation */
.field-filled {
    animation: fillAnimation 0.3s ease;
}

@keyframes fillAnimation {
    0% { background-color: #fff; }
    50% { background-color: #d4edda; }
    100% { background-color: #fff; }
}

/* Employer Section (Dynamic) */
.employer-section {
    border: 2px dashed #c3c4c7;
    background: #f9f9f9;
}

.employer-section .section-title {
    color: #2271b1;
}

/* Form Actions */
.form-actions {
    text-align: center;
    padding: 30px 25px;
    border: none;
    box-shadow: none;
}

/* Submit Button */
.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 40px;
    background: #2271b1;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    min-width: 200px;
}

.btn-submit:hover {
    background: #135e96;
    transform: translateY(-1px);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-submit:disabled {
    background: #8c8f94;
    cursor: not-allowed;
    transform: none;
}

/* Button Loader */
.btn-loader {
    display: flex;
    align-items: center;
    gap: 8px;
}

.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Form Message */
.form-message {
    margin-top: 20px;
    padding: 15px 20px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.message-icon {
    font-size: 20px;
    font-weight: bold;
}

.error-list {
    margin: 10px 0 0 25px;
    padding: 0;
}

.error-list li {
    margin-bottom: 5px;
}

/* Quick Fill Select */
.quick-fill-select {
    background-color: #f6f7f7;
    border-color: #c3c4c7;
}

.quick-fill-select:focus {
    background-color: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .clenstvi-profile-editor {
        padding: 15px;
    }
    
    .form-section {
        padding: 20px 15px;
    }
    
    .form-row.two-cols {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .section-title {
        font-size: 16px;
    }
    
    .btn-submit {
        width: 100%;
        padding: 14px 20px;
    }
    
    .form-actions {
        padding: 20px 15px;
    }
}

@media (max-width: 480px) {
    .clenstvi-header h3 {
        font-size: 20px;
    }
    
    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="tel"],
    .form-group input[type="date"],
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Prevent zoom on iOS */
    }
}
