/* Mobile-first presentation for the saved-route registration flow only. */
.register-container--route-draft {
    width: min(calc(100% - 18px), 520px);
}

.register-container--route-draft .register-card-header {
    padding-bottom: 16px;
}

.register-container--route-draft .register-body {
    gap: 15px;
}

.register-container--route-draft .register-selected-route {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 14px;
    background: color-mix(in srgb, var(--primary) 8%, var(--surface-hover));
    border-color: color-mix(in srgb, var(--primary) 30%, var(--border));
}

.register-container--route-draft .register-selected-route strong {
    font-size: 0.98rem;
}

.register-container--route-draft .register-selected-route small {
    color: color-mix(in srgb, var(--text) 78%, var(--muted));
    font-size: 0.76rem;
}

.register-route-publish-copy {
    margin: 0;
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.5;
}

.register-container--route-draft .register-fields {
    gap: 12px;
}

.register-container--route-draft .register-agreements {
    gap: 8px;
    padding: 12px;
    background: color-mix(in srgb, var(--surface-hover) 42%, transparent);
}

.register-container--route-draft .register-agreements-description {
    font-size: 0.67rem;
}

.register-container--route-draft .register-checkbox-text {
    font-size: 0.73rem;
}

.register-container--route-draft .btn-register {
    min-height: 52px;
    font-size: 0.9rem;
}

@media (max-width: 640px) {
    .register-container--route-draft {
        margin-top: 14px;
    }

    .register-container--route-draft .register-card-header {
        padding: 19px 17px 14px;
    }

    .register-container--route-draft .register-card-header h2 {
        font-size: 1.5rem;
    }

    .register-container--route-draft .register-body {
        gap: 13px;
        padding: 16px;
    }

    .register-container--route-draft .register-form {
        gap: 13px;
    }

    .register-container--route-draft .register-form input[type="text"],
    .register-container--route-draft .register-form input[type="password"],
    .register-container--route-draft .register-form input[type="email"] {
        min-height: 48px;
    }

    .register-container--route-draft .register-agreements {
        margin-top: 2px;
    }
}
