/* Legal / static pages — iyzico onboarding */

.legal-page {
    background: #fafafa;
    padding: 32px 16px 64px;
    min-height: 60vh;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    color: #222;
    line-height: 1.6;
}

.legal-container {
    max-width: 880px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    padding: 36px 40px;
}

.legal-title {
    font-size: 28px;
    margin: 0 0 8px;
    font-weight: 700;
    color: #111;
}

.legal-meta {
    color: #666;
    font-size: 14px;
    margin: 0 0 24px;
}

.legal-content h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 28px 0 12px;
    color: #111;
}

.legal-content h3 {
    font-size: 17px;
    font-weight: 600;
    margin: 20px 0 8px;
    color: #222;
}

.legal-content p {
    margin: 0 0 14px;
}

.legal-content ul,
.legal-content ol {
    padding-left: 22px;
    margin: 0 0 14px;
}

.legal-content li {
    margin-bottom: 6px;
}

.legal-content a {
    color: #0a66c2;
    text-decoration: underline;
}

.legal-content a:hover {
    color: #084d92;
}

.legal-content table {
    border-collapse: collapse;
    width: 100%;
    margin: 16px 0 24px;
    font-size: 14.5px;
}

.legal-content table th,
.legal-content table td {
    border: 1px solid #e3e3e3;
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
}

.legal-content table th {
    background: #f5f7fa;
    font-weight: 600;
    width: 40%;
}

.legal-content .company-info-table th {
    width: 35%;
}

.legal-content .refund-table th {
    background: #eef3f8;
    width: auto;
}

.legal-back {
    margin-top: 32px;
    padding-top: 16px;
    border-top: 1px solid #eee;
}

.legal-back a {
    color: #0a66c2;
    text-decoration: none;
}

.legal-back a:hover {
    text-decoration: underline;
}

/* Contact card inside contact page */

.contact-card ul {
    list-style: none;
    padding-left: 0;
}

.contact-card li {
    padding: 4px 0;
}

/* Contact form */

.contact-form-wrapper {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid #eee;
}

.contact-form-wrapper h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 16px;
}

.contact-flash-success {
    background: #e6f7e8;
    color: #1f6b2c;
    border: 1px solid #b6e0bd;
    padding: 12px 14px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.contact-flash-error {
    background: #fff1f1;
    color: #8b1f1f;
    border: 1px solid #f0c1c1;
    padding: 12px 14px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.contact-flash-error ul {
    margin: 0;
    padding-left: 18px;
}

.contact-form .form-row {
    margin-bottom: 16px;
}

.contact-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d4d4d4;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    background: #fff;
    box-sizing: border-box;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form .form-row--checkbox label {
    font-weight: 400;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #444;
}

.contact-form .form-row--checkbox input[type="checkbox"] {
    margin-top: 4px;
}

.contact-submit {
    background: #0a66c2;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.contact-submit:hover {
    background: #084d92;
}

@media (max-width: 640px) {
    .legal-container {
        padding: 24px 18px;
    }

    .legal-title {
        font-size: 24px;
    }

    .legal-content table th,
    .legal-content table td {
        padding: 8px 10px;
        font-size: 13.5px;
    }
}

/* Footer redesign for iyzico */

footer.footer-iyz {
    background: #f7f8fa;
    color: #2a2a2a;
    padding: 40px 16px 0;
    margin-top: 40px;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: 14px;
    line-height: 1.6;
}

.footer-iyz .footer-iyz-grid {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-iyz .footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 14px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #111;
}

.footer-iyz .footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-iyz .footer-col li {
    padding: 4px 0;
}

.footer-iyz .footer-col a {
    color: #2a2a2a;
    text-decoration: none;
}

.footer-iyz .footer-col a:hover {
    color: #0a66c2;
    text-decoration: underline;
}

.footer-iyz .app-badges {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-iyz .app-badges img {
    max-width: 160px;
    height: auto;
    display: block;
}

.footer-iyz .footer-id {
    font-size: 13px;
    color: #444;
}

.footer-iyz .footer-id strong {
    color: #111;
}

.footer-iyz .footer-id a {
    color: #0a66c2;
}

.footer-iyz .footer-payments {
    max-width: 1180px;
    margin: 32px auto 0;
    padding: 20px 0;
    border-top: 1px solid #e3e6ea;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
}

.footer-iyz .payment-block {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-iyz .payment-block .label {
    font-weight: 600;
    color: #111;
}

.footer-iyz .payment-block img {
    height: 28px;
    width: auto;
}

.footer-iyz .payment-secured small {
    color: #555;
    margin-left: 6px;
}

.footer-iyz .footer-bottom-strip {
    max-width: 1180px;
    margin: 0 auto;
    padding: 16px 0 28px;
    border-top: 1px solid #e3e6ea;
    text-align: center;
    color: #666;
    font-size: 13px;
}

@media (max-width: 900px) {
    .footer-iyz .footer-iyz-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.footer-iyz .app-badges,
.footer-iyz .app-badges img {
    display: none;
}

@media (max-width: 560px) {
    .footer-iyz .footer-iyz-grid {
        grid-template-columns: 1fr;
    }

    .footer-iyz .footer-payments {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Header CTA */

.navigation-wrapper .get-the-app-btn {
    background: #0a66c2;
    color: #fff !important;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    margin-left: 12px;
    display: inline-block;
}

.navigation-wrapper .get-the-app-btn:hover {
    background: #084d92;
}

/* Cookie banner */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1c1f25;
    color: #f1f1f1;
    padding: 14px 18px;
    display: none;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    z-index: 9999;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: 14px;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.18);
}

.cookie-banner.is-visible {
    display: flex;
}

.cookie-banner p {
    margin: 0;
    flex: 1 1 320px;
    line-height: 1.5;
}

.cookie-banner a {
    color: #ffd54f;
    text-decoration: underline;
}

.cookie-banner-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.cookie-banner button {
    background: transparent;
    color: #f1f1f1;
    border: 1px solid #f1f1f1;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-family: inherit;
}

.cookie-banner button.primary {
    background: #ffd54f;
    color: #1c1f25;
    border-color: #ffd54f;
    font-weight: 600;
}

.cookie-banner button:hover {
    opacity: 0.9;
}
