/* EmlakTimi modular CSS | register.php */

.et-framed-page > .et-mobile-modules{width:calc(100% - 24px);max-width:1500px;margin:0 auto 24px;grid-template-columns:minmax(0,1fr)}.et-mobile-module{min-width:0;overflow-wrap:anywhere}.et-mobile-module img,.et-mobile-module video{max-width:100%;height:auto}

* {
            box-sizing: border-box;
        }

        body {
            margin: 0;
            font-family: Arial, sans-serif;
            background: #f4f4f4;
            color: #102c46;
        }

        .auth-page {
            min-height: calc(100vh - 90px);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 40px 20px 60px;
        }

        .auth-card {
            width: 100%;
            max-width: 760px;
            background: white;
            border-radius: 12px;
            padding: 34px;
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.10);
        }

        .auth-card h1 {
            margin: 0 0 8px 0;
            font-size: 30px;
            text-align: center;
            color: #102c46;
        }

        .auth-accent {
            width: 54px;
            height: 3px;
            margin: 0 auto 18px;
            border-radius: 3px;
            background: #d9a21b;
        }

        .auth-subtitle {
            margin: 0 0 28px 0;
            color: #777;
            text-align: center;
            line-height: 1.5;
        }

        .message {
            margin-bottom: 20px;
            padding: 12px 14px;
            border-radius: 7px;
            background: #f8d7da;
            color: #721c24;
            border: 1px solid #f5c6cb;
            font-size: 14px;
        }

        .form-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 0 16px;
        }

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

        .form-group.full {
            grid-column: 1 / -1;
        }

        .form-group label {
            display: block;
            margin-bottom: 7px;
            color: #102c46;
            font-size: 14px;
            font-weight: bold;
        }

        .form-control {
            width: 100%;
            padding: 12px 13px;
            border: 1px solid #ccc;
            border-radius: 7px;
            background: white;
            color: #102c46;
            font-size: 15px;
            outline: none;
            transition: 0.2s;
        }

        .form-control:focus {
            border-color: #d9a21b;
            box-shadow: 0 0 0 3px rgba(217, 162, 27, 0.14);
        }

        .password-note,
        .field-note {
            margin-top: 6px;
            color: #777;
            font-size: 12px;
            line-height: 1.45;
        }

        .certificate-box {
            margin: 4px 0 20px;
            padding: 18px;
            border: 1px solid #e3e6e9;
            border-radius: 9px;
            background: #fafafa;
        }

        .certificate-title {
            margin: 0 0 15px;
            color: #102c46;
            font-size: 17px;
        }

        .optional-badge {
            display: inline-block;
            margin-left: 7px;
            padding: 3px 7px;
            border-radius: 999px;
            background: #fff6dc;
            border: 1px solid #ead08a;
            color: #7b5a00;
            font-size: 11px;
            vertical-align: middle;
        }


        .account-type-box {
            margin-bottom: 22px;
        }

        .account-type-title {
            margin: 0 0 12px;
            font-size: 17px;
            color: #102c46;
        }

        .account-type-options {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 12px;
        }

        .account-type-option {
            position: relative;
            cursor: pointer;
        }

        .account-type-option input {
            position: absolute;
            opacity: 0;
            pointer-events: none;
        }

        .account-type-card {
            display: block;
            padding: 16px;
            border: 2px solid #e1e5e9;
            border-radius: 10px;
            background: #fafafa;
            transition: .2s;
        }

        .account-type-option input:checked + .account-type-card {
            border-color: #d9a21b;
            background: #fff8e5;
            box-shadow: 0 0 0 3px rgba(217, 162, 27, .10);
        }

        .account-type-card strong {
            display: block;
            margin-bottom: 5px;
            color: #102c46;
        }

        .account-type-card small {
            color: #66717c;
            line-height: 1.4;
        }

        .corporate-box {
            display: none;
            margin: 4px 0 22px;
            padding: 18px;
            border: 1px solid #dfe4e8;
            border-radius: 9px;
            background: #f8fafb;
        }

        .corporate-box.is-visible {
            display: block;
        }

        .corporate-title {
            margin: 0 0 6px;
            color: #102c46;
            font-size: 18px;
        }

        .corporate-note {
            margin: 0 0 18px;
            color: #66717c;
            font-size: 13px;
            line-height: 1.5;
        }

        .legal-box {
            margin: 4px 0 22px;
            padding: 18px;
            border: 1px solid #e3e6e9;
            border-radius: 9px;
            background: #fafafa;
        }

        .legal-title {
            margin: 0 0 14px;
            color: #102c46;
            font-size: 17px;
        }

        .legal-check {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            margin: 12px 0;
            padding: 13px;
            border: 1px solid #dce3e8;
            border-radius: 9px;
            background: #fff;
            color: #66717c;
            font-size: 14px;
            line-height: 1.5;
        }
        .legal-check label{display:flex;align-items:flex-start;gap:10px;cursor:pointer}
        .legal-check.regulation-ack input[type="checkbox"]{pointer-events:auto}
        .legal-links{display:flex;flex-wrap:wrap;gap:9px;margin:8px 0 18px}
        .legal-links a{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 13px;border:1px solid #102c46;border-radius:8px;background:#fff;color:#102c46;font-size:13px;font-weight:700;text-decoration:none;text-align:center}
        .legal-links a:first-child{background:#102c46;color:#fff}
        .legal-links a:hover{border-color:#d9a21b;text-decoration:none}
        @media(max-width:600px){.legal-links{display:grid;grid-template-columns:1fr}.legal-links a{width:100%}}

        .legal-check input[type="checkbox"] {
            margin-top: 4px;
            flex: 0 0 auto;
            width: 18px;
            height: 18px;
            accent-color: #102c46;
            pointer-events: none;
        }

        .legal-open-button {
            padding: 0;
            border: 0;
            background: transparent;
            color: #102c46;
            font: inherit;
            font-weight: bold;
            text-align: left;
            text-decoration: none;
            cursor: pointer;
        }

        .legal-open-button:hover {
            color: #d9a21b;
        }

        .legal-modal {
            position: fixed;
            inset: 0;
            z-index: 9999;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 20px;
            background: rgba(8, 24, 39, 0.68);
        }

        .legal-modal.is-open {
            display: flex;
        }

        .legal-modal-card {
            width: min(900px, 100%);
            max-height: 88vh;
            display: flex;
            flex-direction: column;
            overflow: hidden;
            border-radius: 12px;
            background: #ffffff;
            box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
        }

        .legal-modal-header {
            padding: 22px 24px 14px;
            border-bottom: 1px solid #e5e5e5;
        }

        .legal-modal-header h2 {
            margin: 0;
            color: #102c46;
            font-size: 24px;
        }

        .legal-modal-version {
            margin-top: 6px;
            color: #777;
            font-size: 12px;
        }

        .legal-modal-content {
            min-height: 260px;
            padding: 24px;
            overflow-y: auto;
            color: #4f5d69;
            line-height: 1.7;
            white-space: normal;
        }

        .legal-modal-empty {
            min-height: 240px;
        }

        .legal-modal-footer {
            padding: 16px 24px 22px;
            border-top: 1px solid #e5e5e5;
            background: #fafafa;
        }

        .legal-accept-button {
            width: 100%;
            padding: 13px 18px;
            border: 0;
            border-radius: 7px;
            background: #102c46;
            color: #ffffff;
            font-size: 15px;
            font-weight: bold;
            cursor: pointer;
        }

        .legal-accept-button:hover {
            background: #17476f;
        }

        body.legal-modal-open {
            overflow: hidden;
        }

        .submit-button {
            width: 100%;
            padding: 13px 16px;
            border: none;
            border-radius: 7px;
            background: #102c46;
            color: white;
            font-size: 16px;
            font-weight: bold;
            cursor: pointer;
            transition: 0.2s;
        }

        .submit-button:hover {
            background: #d9a21b;
        }

        .auth-footer {
            margin-top: 24px;
            padding-top: 20px;
            border-top: 1px solid #e5e5e5;
            color: #66717c;
            text-align: center;
            font-size: 14px;
        }

        .auth-footer a {
            color: #102c46;
            font-weight: bold;
            text-decoration: none;
        }

        .auth-footer a:hover {
            color: #d9a21b;
            text-decoration: none;
        }

        @media (max-width: 600px) {

            .auth-page {
                padding: 25px 15px 40px;
                align-items: flex-start;
            }

            .auth-card {
                padding: 25px 20px;
            }

            .auth-card h1 {
                font-size: 26px;
            }

            .form-grid,
            .account-type-options {
                grid-template-columns: 1fr;
            }

            .form-group.full {
                grid-column: auto;
            }
        }

    
        .password-field-wrap{position:relative}
        .password-field-wrap .form-control,
        .password-field-wrap input[type="password"],
        .password-field-wrap input[type="text"]{padding-right:46px}
        .password-toggle{position:absolute;right:8px;top:50%;transform:translateY(-50%);width:34px;height:34px;padding:0;border:0;border-radius:7px;background:transparent;color:#102c46;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}
        .password-toggle:hover{background:#f2f5f7}
        .password-toggle:focus-visible{outline:2px solid #d39b16;outline-offset:2px}
        .password-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
        @media(max-width:600px){.password-toggle{width:40px;height:40px;right:5px}}
