* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body.passport-page {
    margin: 0;
    color: #172033;
    background:
        radial-gradient(circle at top left, rgba(41, 121, 255, 0.14), transparent 32rem),
        linear-gradient(180deg, #f4f8ff 0%, #ffffff 48%, #eef5ff 100%);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.passport-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.passport-panel {
    width: 100%;
    max-width: 28rem;
    padding: 2rem 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(82, 128, 190, 0.18);
    border-radius: 8px;
    box-shadow: 0 1.25rem 3.5rem rgba(32, 81, 181, 0.12);
}

.passport-title {
    margin: 0;
    color: #102a56;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

.passport-subtitle {
    margin: 0.55rem 0 1.5rem;
    color: #66758f;
    font-size: 0.92rem;
    line-height: 1.5;
    text-align: center;
}

.passport-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem;
    margin-bottom: 1.5rem;
    padding: 0.3rem;
    background: #edf4ff;
    border-radius: 8px;
}

.passport-tab {
    display: block;
    min-height: 2.5rem;
    padding: 0.7rem 0.5rem;
    color: #31547f;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
}

.passport-tab.is-active {
    color: #ffffff;
    background: #185abc;
    box-shadow: 0 0.45rem 1rem rgba(24, 90, 188, 0.22);
}

.passport-form {
    margin: 0;
}

.passport-field {
    margin-bottom: 1rem;
}

.passport-label {
    display: block;
    margin-bottom: 0.45rem;
    color: #30415f;
    font-size: 0.9rem;
    font-weight: 600;
}

.passport-input {
    width: 100%;
    min-height: 3rem;
    padding: 0.75rem 0.9rem;
    color: #172033;
    background: #f8fbff;
    border: 1px solid #d7e3f3;
    border-radius: 8px;
    font-size: 1rem;
    line-height: 1.3;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.passport-input:focus {
    background: #ffffff;
    border-color: #185abc;
    box-shadow: 0 0 0 3px rgba(24, 90, 188, 0.12);
}

.passport-input::placeholder {
    color: #96a3b8;
}

.passport-action {
    width: 100%;
    min-height: 3rem;
    margin-top: 0.35rem;
    padding: 0.8rem 1rem;
    color: #ffffff;
    background: #185abc;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    box-shadow: 0 0.7rem 1.25rem rgba(24, 90, 188, 0.22);
}

.passport-action:disabled {
    cursor: not-allowed;
    opacity: 0.72;
    box-shadow: none;
}

.passport-footer {
    margin-top: 1.35rem;
    color: #8896aa;
    font-size: 0.78rem;
    line-height: 1.4;
    text-align: center;
}

@media (max-width: 360px) {
    .passport-shell {
        padding: 1rem 0.75rem;
    }

    .passport-panel {
        padding: 1.5rem 1rem 1.25rem;
    }

    .passport-title {
        font-size: 1.45rem;
    }
}
